From d1fb0c3a4e4698e436eb5d2182fcadd7aacf90a5 Mon Sep 17 00:00:00 2001 From: Nicolas Merget Date: Mon, 22 Jul 2024 19:23:40 +0200 Subject: [PATCH] fix: revert changes for playwright test --- showcases/e2e/default.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/showcases/e2e/default.ts b/showcases/e2e/default.ts index 49284ef0bbc..8709cbf0282 100644 --- a/showcases/e2e/default.ts +++ b/showcases/e2e/default.ts @@ -143,9 +143,7 @@ export const getDefaultScreenshotTest = ({ test.skip(); } - const html = await page.content(); - - const { report } = await getCompliance(html, path); + const { report } = await getCompliance(page, path); if (isCheckerError(report)) { failures = report.details;