Update playwright.config.ts

This commit is contained in:
4gray authored and GitHub committed 2023-02-24 16:21:39 +01:00
1 parent 42079b4b84
commit a5bc2818f3
1 file changed
+2
+2
View File
@@ -2,6 +2,7 @@ import { devices, PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './e2e',
timeout: 45000,
maxFailures: 2,
testMatch: /.*\.e2e\.ts/,
projects: [
@@ -28,6 +29,7 @@ const config: PlaywrightTestConfig = {
}, */
],
use: {
headless: false,
screenshot: 'only-on-failure',
testIdAttribute: 'data-test-id',
},