Skip to content

Commit 1b66e21

Browse files
committed
Set a timeout for playwright tests
1 parent d88a37d commit 1b66e21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spock-website/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default defineConfig({
1515
],
1616
// Single template for all assertions
1717
testDir: 'tests',
18+
timeout: 30000, // 30 seconds
1819
snapshotPathTemplate: '{testDir}/__screenshots__{/projectName}/{testFilePath}/{arg}{ext}',
1920
// Run local dev server before starting the tests.
2021
use: {

0 commit comments

Comments
 (0)