Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: upload test-runner test results to flakiness dashboard (#12412)
Andrey Lushnikovf47423d31543
diff --git a/.github/workflows/test_test_runner.yml b/.github/workflows/test_test_runner.ymlindex d9be80d073..ac47b2c97b 100644--- a/.github/workflows/test_test_runner.yml+++ b/.github/workflows/test_test_runner.yml@@ -44,3 +44,5 @@ jobs:if: matrix.os != 'ubuntu-latest'- run: xvfb-run npm run ttestif: matrix.os == 'ubuntu-latest'+ - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json+ if: always()diff --git a/tests/playwright-test/playwright-test.config.ts b/tests/playwright-test/playwright-test.config.tsindex 317b286a81..4580180836 100644--- a/tests/playwright-test/playwright-test.config.ts+++ b/tests/playwright-test/playwright-test.config.ts@@ -15,7 +15,9 @@*/import { Config } from './stable-test-runner';+import * as path from 'path';+const outputDir = path.join(__dirname, '..', '..', 'test-results');const config: Config = {testDir: __dirname,testIgnore: ['assets/**', 'stable-test-runner/**'],@@ -28,6 +30,12 @@ const config: Config = {] : [{ name: 'playwright-test', testIgnore: ['*.visual.ts'] },],+ reporter: process.env.CI ? [+ ['dot'],+ ['json', { outputFile: path.join(outputDir, 'report.json') }],+ ] : [+ ['list']+ ],};export default config;