Files
Matt FiddamanGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
c4775bf288 wire tests up to depot test results analysis (#8262)
* emit junit files

* wire up the actions

* note

* [autofix.ci] apply automated fixes

* fix overly broad error

* scope to master runs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-21 07:50:55 +00:00

26 lines
735 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
timeout: 60000, // 60 seconds
retries: 1,
testDir: 'e2e/',
reporter: process.env.CI
? [['list'], ['junit', { outputFile: 'e2e/test-results/junit.xml' }]]
: undefined,
outputDir: 'e2e/test-results/',
snapshotPathTemplate:
'{testDir}/__screenshots__/{testFilePath}/{arg}-{platform}{ext}',
use: {
userAgent: 'playwright',
screenshot: 'on',
browserName: 'chromium',
trace: 'on-first-retry',
ignoreHTTPSErrors: true,
},
expect: {
// See desktop-client playwright.config.ts for the threshold rationale.
toHaveScreenshot: { maxDiffPixels: 5, threshold: 0.05 },
timeout: 60000, // 60 seconds
},
});