From 649baf9855c676c789e9a25530f74066cfbb6012 Mon Sep 17 00:00:00 2001 From: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:04:55 +0100 Subject: [PATCH] [e2e tests] Tweak HTML reporter output path (#50443) --- plugins/woocommerce/changelog/e2e-tweak-reports-paths | 4 ++++ plugins/woocommerce/tests/e2e-pw/.gitignore | 2 +- plugins/woocommerce/tests/e2e-pw/playwright.config.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 plugins/woocommerce/changelog/e2e-tweak-reports-paths diff --git a/plugins/woocommerce/changelog/e2e-tweak-reports-paths b/plugins/woocommerce/changelog/e2e-tweak-reports-paths new file mode 100644 index 00000000000..4f73f5cc6c2 --- /dev/null +++ b/plugins/woocommerce/changelog/e2e-tweak-reports-paths @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + + diff --git a/plugins/woocommerce/tests/e2e-pw/.gitignore b/plugins/woocommerce/tests/e2e-pw/.gitignore index cfc719aabe4..4bd09d22e03 100644 --- a/plugins/woocommerce/tests/e2e-pw/.gitignore +++ b/plugins/woocommerce/tests/e2e-pw/.gitignore @@ -1,3 +1,3 @@ /.state /test-results - +/envs/_default diff --git a/plugins/woocommerce/tests/e2e-pw/playwright.config.js b/plugins/woocommerce/tests/e2e-pw/playwright.config.js index 6416a0dceb1..6b7691be2c3 100644 --- a/plugins/woocommerce/tests/e2e-pw/playwright.config.js +++ b/plugins/woocommerce/tests/e2e-pw/playwright.config.js @@ -56,7 +56,7 @@ if ( process.env.CI ) { { outputFolder: PLAYWRIGHT_HTML_REPORT ?? - `${ testsResultsPath }/playwright-report`, + `${ testsResultsPath }/reports/playwright-report`, open: 'on-failure', }, ] );