tests: Disable flaky test_edit_bot_form test.

This commit is contained in:
Karl Stolley 2023-08-07 15:34:49 -04:00 committed by Tim Abbott
parent 63173ce1bc
commit a73faf6579
1 changed files with 5 additions and 0 deletions

View File

@ -188,7 +188,12 @@ async function test_botserverrc(page: Page): Promise<void> {
assert.match(botserverrc_decoded_url, botserverrc_regex, "Incorrect botserverrc format.");
}
// Disabled the below test due to non-deterministic failures.
// The test often fails to close the modal, as does the
// test_invalid_edit_bot_form above.
// TODO: Debug this and re-enable with a fix.
async function test_edit_bot_form(page: Page): Promise<void> {
return;
const bot1_email = "1-bot@zulip.testserver";
const bot1_edit_btn = `.open_edit_bot_form[data-email="${CSS.escape(bot1_email)}"]`;
await page.click(bot1_edit_btn);