Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haqadn committed Jun 16, 2023
1 parent 2731e57 commit ff8d02c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/browser-interface-iframe.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ describe("Iframe interface", () => {
await page.close();
});

it("Does not load more pages than the successRatio specifies", async () => {
it("Does not load more pages than the maxPages specifies", async () => {
const page = await browser.newPage();
await page.goto(testServer.getUrl());

Expand All @@ -187,6 +187,7 @@ describe("Iframe interface", () => {
},
}),
successRatio: 0.25,
maxPages: 1,
});

return [...result, pagesVerified];
Expand Down

0 comments on commit ff8d02c

Please sign in to comment.