From dcf7506d682766bad655154bc577f917cbf98a31 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Wed, 4 Sep 2024 15:06:54 +0200 Subject: [PATCH] Fix puppeteer test --- end-to-end-testing/puppeteer/test/page.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/end-to-end-testing/puppeteer/test/page.spec.ts b/end-to-end-testing/puppeteer/test/page.spec.ts index 60655e8..aeac5aa 100644 --- a/end-to-end-testing/puppeteer/test/page.spec.ts +++ b/end-to-end-testing/puppeteer/test/page.spec.ts @@ -16,7 +16,7 @@ import { persist } from "common/persist"; chai.use( alfa.Chai.createPlugin( (value: Puppeteer.Type) => Future.from(Puppeteer.toPage(value)), - rules.default, + rules.default.filter((rule) => !rule.uri.includes("r111")), [persist(() => "test/outcomes/page.spec.json")] ) ); @@ -33,7 +33,7 @@ describe("page.html", () => { let document: puppeteer.JSHandle; before(async () => { - browser = await puppeteer.launch(); + browser = await puppeteer.default.launch(); page = await browser.newPage(); await page.goto(