puppeteer: Disable test_invalid_edit_bot_form().

This commit is contained in:
Dinesh 2022-01-17 10:56:12 +00:00 committed by Steve Howell
parent 19f891968d
commit 35960be510
1 changed files with 4 additions and 0 deletions

View File

@ -184,7 +184,11 @@ async function test_edit_bot_form(page: Page): Promise<void> {
await common.wait_for_micromodal_to_close(page); await common.wait_for_micromodal_to_close(page);
} }
// Disabled the below test due to non-deterministic failures.
// The test often fails to close the modal.
// TODO: Debug this and re-enable with a fix.
async function test_invalid_edit_bot_form(page: Page): Promise<void> { async function test_invalid_edit_bot_form(page: Page): Promise<void> {
return;
const bot1_email = "1-bot@zulip.testserver"; const bot1_email = "1-bot@zulip.testserver";
const bot1_edit_btn = `.open_edit_bot_form[data-email="${CSS.escape(bot1_email)}"]`; const bot1_edit_btn = `.open_edit_bot_form[data-email="${CSS.escape(bot1_email)}"]`;
await page.click(bot1_edit_btn); await page.click(bot1_edit_btn);