diff --git a/.github/actions/e2e/run-log-tests/action.yml b/.github/actions/e2e/run-log-tests/action.yml index 87a987c4df7..53f0f78652c 100644 --- a/.github/actions/e2e/run-log-tests/action.yml +++ b/.github/actions/e2e/run-log-tests/action.yml @@ -38,9 +38,7 @@ runs: with: name: wp(${{ env.E2E_WP_VERSION }})-wc(${{ env.E2E_WC_VERSION }})-${{ env.E2E_GROUP }}-${{ env.E2E_BRANCH }} path: | - screenshots - tests/e2e/screenshots - tests/e2e/docker/wordpress/wp-content/debug.log + playwright-report/ tests/e2e-pw/test-results ${{ env.E2E_RESULT_FILEPATH }} if-no-files-found: ignore diff --git a/tests/e2e-pw/playwright.config.ts b/tests/e2e-pw/playwright.config.ts index 45c2e86fd1f..14350953f40 100644 --- a/tests/e2e-pw/playwright.config.ts +++ b/tests/e2e-pw/playwright.config.ts @@ -58,8 +58,8 @@ export default defineConfig( { /* Reporters to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI ? [ - // If running on CI, also use the GitHub Actions reporter - [ 'github' ], + /* If running on CI, include the dot reporter and JSON reporter. */ + [ 'dot' ], [ 'json', { outputFile: 'results.json' } ], [ 'html' ], ]