Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppeteer: Fallback to default waitForSelect timeout.
Sumanth V Rao634a8ad345d3
diff --git a/frontend_tests/puppeteer_tests/realm-playground.ts b/frontend_tests/puppeteer_tests/realm-playground.tsindex 0e10872352e..1dd84b10e74 100644--- a/frontend_tests/puppeteer_tests/realm-playground.ts+++ b/frontend_tests/puppeteer_tests/realm-playground.ts@@ -14,7 +14,7 @@ async function _add_playground_and_return_status(page: Page, payload: Playgroundawait page.waitForSelector(".admin-playground-form", {visible: true});// Let's first ensure that the success/failure status from an earlier step has disappeared.const admin_playground_status_selector = "div#admin-playground-status";- await page.waitForSelector(admin_playground_status_selector, {hidden: true, timeout: 4000});+ await page.waitForSelector(admin_playground_status_selector, {hidden: true});// Now we can fill and click the submit button.await common.fill_form(page, "form.admin-playground-form", payload);