Skip to content

Commit ff8d02c

Browse files
committed
Update tests
1 parent 2731e57 commit ff8d02c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/browser-interface-iframe.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ describe("Iframe interface", () => {
167167
await page.close();
168168
});
169169

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

@@ -187,6 +187,7 @@ describe("Iframe interface", () => {
187187
},
188188
}),
189189
successRatio: 0.25,
190+
maxPages: 1,
190191
});
191192

192193
return [...result, pagesVerified];

0 commit comments

Comments
 (0)