Skip to content

Commit 641e137

Browse files
committed
Try increasing timeout
1 parent 9699dcd commit 641e137

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/gitbook/e2e/internal.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ const testCases: TestsCase[] = [
19841984
const iframe = page.frameLocator('#gitbook-widget-iframe');
19851985
await iframe.getByTestId('embed-tab-docs').click(); // Switch to docs tab
19861986
await expect(iframe.getByTestId('embed-docs-page')).toBeVisible({
1987-
timeout: 10000,
1987+
timeout: 20000,
19881988
});
19891989

19901990
await iframe.getByTestId('embed-tab-assistant').click(); // Switch to assistant tab
@@ -2004,7 +2004,7 @@ const testCases: TestsCase[] = [
20042004
await expect(page.locator('#gitbook-widget-window')).toBeVisible();
20052005
const iframe = page.frameLocator('#gitbook-widget-iframe');
20062006
await expect(iframe.getByTestId('embed-docs-page')).toBeVisible({
2007-
timeout: 10000,
2007+
timeout: 20000,
20082008
});
20092009
await expect(iframe.owner()).toHaveAttribute(
20102010
'src',
@@ -2219,7 +2219,7 @@ const testCases: TestsCase[] = [
22192219
await expect(page.locator('#gitbook-widget-window')).toBeVisible();
22202220
const iframe = page.frameLocator('#gitbook-widget-iframe');
22212221
await expect(iframe.getByTestId('embed-docs-page')).toBeVisible({
2222-
timeout: 10000,
2222+
timeout: 20000,
22232223
});
22242224
},
22252225
},
@@ -2230,7 +2230,7 @@ const testCases: TestsCase[] = [
22302230
await expect(page.locator('#gitbook-widget-window')).toBeVisible();
22312231
const iframe = page.frameLocator('#gitbook-widget-iframe');
22322232
await expect(iframe.getByTestId('embed-docs-page')).toBeVisible({
2233-
timeout: 10000,
2233+
timeout: 20000,
22342234
});
22352235
const tocButton = iframe.getByTestId('toc-button');
22362236
await expect(tocButton).toBeVisible();
@@ -2245,7 +2245,7 @@ const testCases: TestsCase[] = [
22452245
await expect(page.locator('#gitbook-widget-window')).toBeVisible();
22462246
const iframe = page.frameLocator('#gitbook-widget-iframe');
22472247
await expect(iframe.getByTestId('embed-docs-page')).toBeVisible({
2248-
timeout: 10000,
2248+
timeout: 20000,
22492249
});
22502250
const openInNewTabButton = iframe.getByTestId(
22512251
'embed-docs-page-open-in-new-tab'

0 commit comments

Comments
 (0)