ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
27
services/mail-keys/tests/playwright.ts
Normal file
27
services/mail-keys/tests/playwright.ts
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { defineConfig } from '@playwright/test';
|
||||
import { evidence, fixture } from './fixture.ts';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: '.',
|
||||
testMatch: 'account.spec.ts',
|
||||
timeout: 90_000,
|
||||
expect: { timeout: 10_000 },
|
||||
retries: 0,
|
||||
workers: 1,
|
||||
maxFailures: 1,
|
||||
reporter: 'list',
|
||||
outputDir: evidence('results'),
|
||||
projects: [
|
||||
{ name: 'gateway', use: { baseURL: fixture.origins[0] } },
|
||||
{ name: 'direct', use: { baseURL: fixture.origins[1] } },
|
||||
],
|
||||
use: {
|
||||
browserName: 'firefox',
|
||||
baseURL: fixture.origins[0],
|
||||
ignoreHTTPSErrors: true,
|
||||
actionTimeout: 10_000,
|
||||
navigationTimeout: 10_000,
|
||||
trace: 'retain-on-failure',
|
||||
screenshot: 'only-on-failure',
|
||||
},
|
||||
});
|
||||
Loading…
Reference in a new issue