From ff8d02c31d2dcc04efcca8a2161097d4c07f39a7 Mon Sep 17 00:00:00 2001 From: Adnan Haque Date: Fri, 16 Jun 2023 13:10:44 +0200 Subject: [PATCH] Update tests --- tests/unit/browser-interface-iframe.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/browser-interface-iframe.test.js b/tests/unit/browser-interface-iframe.test.js index afbc01f..07f5bec 100644 --- a/tests/unit/browser-interface-iframe.test.js +++ b/tests/unit/browser-interface-iframe.test.js @@ -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()); @@ -187,6 +187,7 @@ describe("Iframe interface", () => { }, }), successRatio: 0.25, + maxPages: 1, }); return [...result, pagesVerified];