Skip to content

Commit 38bed86

Browse files
[CI] Use a slightly longer timeout for UI tests
Timeouts with the default, rather short 5000ms timeout can be observed semi-regularly. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
1 parent 806c79c commit 38bed86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vscode-trace-extension/src/test/extension-test.spec.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { test, expect } from '@playwright/test';
22

3-
test.beforeEach(async ({ page }) => {
3+
const timeout = 10000;
4+
5+
test.beforeEach(async ({ page }, testInfo ) => {
6+
testInfo.timeout = timeout;
47
await page.goto('http://localhost:3000');
58
await page.getByRole('tab', { name: 'Welcome, preview' }).getByRole('button', { name: /Close/ }).click();
69
await page.getByRole('button', { name: 'Never' }).click();

0 commit comments

Comments
 (0)