diff --git a/.github/workflows/reusable-playwright-tests.yml b/.github/workflows/reusable-playwright-tests.yml index bd52003..691ca21 100644 --- a/.github/workflows/reusable-playwright-tests.yml +++ b/.github/workflows/reusable-playwright-tests.yml @@ -56,7 +56,7 @@ jobs: index-files: '["index.html"]' - name: Run Playwright tests - run: yarn playwright test --reporter=html,@element-hq/element-web-playwright-common/lib/stale-screenshot-reporter.js + run: yarn playwright test - name: Upload blob report to GitHub Actions Artifacts if: always() diff --git a/packages/element-web-module-api/vite.config.ts b/packages/element-web-module-api/vite.config.ts index 01d3eeb..4418200 100644 --- a/packages/element-web-module-api/vite.config.ts +++ b/packages/element-web-module-api/vite.config.ts @@ -44,6 +44,7 @@ export default defineConfig({ reporter: "lcov", }, reporters: [ + ["default", { summary: false }], [ "vitest-sonar-reporter", { diff --git a/playwright.config.ts b/playwright.config.ts index 12bc706..30f7142 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -83,7 +83,14 @@ export default defineConfig({ }, workers: 1, retries: process.env.CI ? 2 : 0, - reporter: process.env.CI ? [["html"], ["github"]] : [["html", { outputFolder: "playwright-html-report" }]], + reporter: process.env.CI + ? [ + ["list"], + ["html"], + ["github"], + ["@element-hq/element-web-playwright-common/lib/stale-screenshot-reporter.js"], + ] + : [["list"], ["html", { outputFolder: "playwright-html-report" }]], snapshotPathTemplate: "{snapshotDir}/{testFilePath}/{arg}-{platform}{ext}", forbidOnly: !!process.env.CI, });