From 78da909cdb58247cdb2503213a0989ce3b923d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Mon, 25 Mar 2024 11:28:14 +0100 Subject: [PATCH] Fix `fullPage` screenshots --- e2e/pages.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index e71b6f80c..4b1c70dcd 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -52,7 +52,6 @@ const testCases: TestsCase[] = [ { name: 'Search', url: '?q=', - fullPage: false, }, { name: 'Search Results', @@ -60,7 +59,6 @@ const testCases: TestsCase[] = [ run: async (page) => { await page.waitForSelector('[data-test="search-results"]'); }, - fullPage: false, }, { name: 'AI Search', @@ -482,7 +480,7 @@ for (const testCase of testCases) { display: none !important; } `, - fullPage: testEntry.fullPage, + fullPage: testEntry.fullPage ?? false, }); } });