Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

minor: Remove unused url argument.

Priyank Patel78774e5f1bf3
diff --git a/frontend_tests/puppeteer_lib/common.js b/frontend_tests/puppeteer_lib/common.js
index 724523bdd5c..009d265f12d 100644
--- a/frontend_tests/puppeteer_lib/common.js
+++ b/frontend_tests/puppeteer_lib/common.js
@@ -72,14 +72,9 @@ class CommonUtils {
}
}
- async get_page(url = null) {
+ async get_page() {
await this.ensure_browser();
-
const page = await this.browser.newPage();
- if (url !== null) {
- await page.goto(url);
- }
-
return page;
}