Skip to content

Commit 4c286b5

Browse files
authored
Fix fullPage screenshots (GitbookIO#2230)
1 parent c5a28f8 commit 4c286b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

e2e/pages.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,13 @@ const testCases: TestsCase[] = [
5252
{
5353
name: 'Search',
5454
url: '?q=',
55-
fullPage: false,
5655
},
5756
{
5857
name: 'Search Results',
5958
url: '?q=gitbook',
6059
run: async (page) => {
6160
await page.waitForSelector('[data-test="search-results"]');
6261
},
63-
fullPage: false,
6462
},
6563
{
6664
name: 'AI Search',
@@ -482,7 +480,7 @@ for (const testCase of testCases) {
482480
display: none !important;
483481
}
484482
`,
485-
fullPage: testEntry.fullPage,
483+
fullPage: testEntry.fullPage ?? false,
486484
});
487485
}
488486
});

0 commit comments

Comments
 (0)