Skip to content

Commit 07c1218

Browse files
author
tsv2013
committed
Try to fix unstable tests
1 parent 859c9b8 commit 07c1218

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

site/markdown-content.spec.ts

Lines changed: 5 additions & 3 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(5000);
12+
await page.waitForTimeout(2500);
1313

1414
await expect(page.locator('.s-search')).toBeVisible();
1515
await expect(page.locator('.s-search__search-button').first()).toBeVisible();
@@ -38,10 +38,11 @@ test('FAQ Overview', async ({ page }) => {
3838
await expect(rightSidebar).toBeVisible();
3939
});
4040

41-
test.skip('FAQ Licensing', async ({ page }) => {
41+
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);
4546

4647
await expect(page.locator('.s-search')).toBeVisible();
4748
await expect(page.locator('.s-search__search-button').first()).toBeVisible();
@@ -82,10 +83,11 @@ test.skip('FAQ Licensing', async ({ page }) => {
8283
await compareScreenshot(page, bottomNav, 'markdown-content-faq-bottom-nav.png');
8384
});
8485

85-
test.skip('Documentation Overview', async ({ page }) => {
86+
test('Documentation Overview', async ({ page }) => {
8687
await page.setViewportSize({ width: 1599, height: 768 });
8788
await page.goto(`${url}/documentation`);
8889
await acceptCookieBanner(page);
90+
await page.waitForTimeout(2500);
8991

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

0 commit comments

Comments
 (0)