Skip to content

Commit eec8f16

Browse files
conico974Nicolas Dorseuil
andauthored
Increase timeout for search answer visibility check (#3530)
Co-authored-by: Nicolas Dorseuil <[email protected]>
1 parent 885264f commit eec8f16

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/gitbook/e2e/internal.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@ const searchTestCases: Test[] = [
186186
run: async (page) => {
187187
await expect(page.getByTestId('search-input')).toBeFocused();
188188
await expect(page.getByTestId('search-input')).toHaveValue('What is GitBook?');
189-
await expect(page.getByTestId('search-ask-answer')).toBeVisible();
189+
await expect(page.getByTestId('search-ask-answer')).toBeVisible({
190+
timeout: 10_000,
191+
});
190192
},
191193
},
192194
{

0 commit comments

Comments
 (0)