Skip to content

Commit dee35ad

Browse files
author
tsv2013
committed
Try to reduce wait time
1 parent 910aaee commit dee35ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/markdown-content.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('FAQ Overview', async ({ page }) => {
99
await page.setViewportSize({ width: 1599, height: 768 });
1010
await page.goto(`${url}/faq`);
1111
await acceptCookieBanner(page);
12-
await page.waitForTimeout(2500);
12+
await page.waitForTimeout(1000);
1313

1414
await expect(page.locator('.s-search')).toBeVisible();
1515
await expect(page.locator('.s-search__search-button').first()).toBeVisible();
@@ -42,7 +42,7 @@ test('FAQ Licensing', async ({ page }) => {
4242
await page.setViewportSize({ width: 1599, height: 768 });
4343
await page.goto(`${url}/faq/licensing`);
4444
await acceptCookieBanner(page);
45-
await page.waitForTimeout(2500);
45+
await page.waitForTimeout(1000);
4646

4747
await expect(page.locator('.s-search')).toBeVisible();
4848
await expect(page.locator('.s-search__search-button').first()).toBeVisible();
@@ -87,7 +87,7 @@ test('Documentation Overview', async ({ page }) => {
8787
await page.setViewportSize({ width: 1599, height: 768 });
8888
await page.goto(`${url}/documentation`);
8989
await acceptCookieBanner(page);
90-
await page.waitForTimeout(2500);
90+
await page.waitForTimeout(1000);
9191

9292
await expect(page.locator('.s-search')).toBeVisible();
9393
await expect(page.locator('.s-search__search-button').first()).toBeVisible();
@@ -126,7 +126,7 @@ test('Stay Updated Overview', async ({ page }) => {
126126
await page.setViewportSize({ width: 1599, height: 768 });
127127
await page.goto(`${url}/stay-updated`);
128128
await acceptCookieBanner(page);
129-
await page.waitForTimeout(2500);
129+
await page.waitForTimeout(1000);
130130

131131
await expect(page.locator('.s-search')).toBeVisible();
132132
await expect(page.locator('.s-search__search-button').first()).toBeVisible();

0 commit comments

Comments
 (0)