1
0

make tests fail faster

This commit is contained in:
Nicola Clark 2024-10-25 01:05:04 -05:00
parent a42afbc9d2
commit 2c4416804b
Signed by: nicola
GPG Key ID: 3E1710E7FF08956C

View File

@ -5,8 +5,12 @@ const config: PlaywrightTestConfig = {
command: 'npm run build && npm run preview', command: 'npm run build && npm run preview',
port: 4173, port: 4173,
}, },
expect: {
timeout: 2.5 * 1000,
},
testDir: 'tests', testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/, testMatch: /(.+\.)?(test|spec)\.[jt]s/,
timeout: 5 * 1000,
use: { use: {
viewport: { viewport: {
height: 900, height: 900,