Skip to content

Commit

Permalink
Fix fullPage screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Mar 25, 2024
1 parent c5a28f8 commit 78da909
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e/pages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,13 @@ const testCases: TestsCase[] = [
{
name: 'Search',
url: '?q=',
fullPage: false,
},
{
name: 'Search Results',
url: '?q=gitbook',
run: async (page) => {
await page.waitForSelector('[data-test="search-results"]');
},
fullPage: false,
},
{
name: 'AI Search',
Expand Down Expand Up @@ -482,7 +480,7 @@ for (const testCase of testCases) {
display: none !important;
}
`,
fullPage: testEntry.fullPage,
fullPage: testEntry.fullPage ?? false,
});
}
});
Expand Down

0 comments on commit 78da909

Please sign in to comment.