Skip to content

Commit 3212fd8

Browse files
authored
Add action timeout for Playwright tests q
Set action timeout for Playwright tests to 2000ms.
1 parent cab6301 commit 3212fd8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pages/playwright/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ <h2>playwright setup</h2>
4545
<h2>Usefull snippets</h2>
4646
<script type="editor" data-lang="ts">
4747

48+
test.use({ actionTimeout: 2000 });
49+
4850
// extra step for codegen
4951
await expect(page.locator("body")).toHaveCount(1);
5052
./node_modules/.bin/playwright codegen http://0.0.0.0:5678/vite-project/dist/

0 commit comments

Comments
 (0)