Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppeteer: Wait for display settings section to appear before clicking.
Dineshdcc47dcc1284
diff --git a/frontend_tests/puppeteer_tests/16-settings.js b/frontend_tests/puppeteer_tests/16-settings.jsindex 7038e9ae78a..3dc9a72fc8e 100644--- a/frontend_tests/puppeteer_tests/16-settings.js+++ b/frontend_tests/puppeteer_tests/16-settings.js@@ -286,6 +286,7 @@ async function test_default_language_setting(page) {await page.waitForSelector("#default_language", {visible: true});await assert_language_changed_to_chinese(page);await test_i18n_language_precedence(page);+ await page.waitForSelector(display_settings_section, {visible: true});await page.click(display_settings_section);// Change the language back to English so that subsequent tests pass.