Skip to content

Commit

Permalink
Fix puppeteer test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Sep 4, 2024
1 parent 7363b35 commit dcf7506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions end-to-end-testing/puppeteer/test/page.spec.ts
Original file line number Diff line number Diff line change
@@ -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(

0 comments on commit dcf7506

Please sign in to comment.