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;