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.

message basics e2e: Add expect_home in two places to match other tests.

evykassirerea619ff75fc7
diff --git a/web/e2e-tests/message-basics.test.ts b/web/e2e-tests/message-basics.test.ts
index 4b4440588d4..de63df44834 100644
--- a/web/e2e-tests/message-basics.test.ts
+++ b/web/e2e-tests/message-basics.test.ts
@@ -162,6 +162,7 @@ async function search_silent_user(page: Page, str: string, item: string): Promis
expect_message,
);
await un_narrow(page);
+ await expect_home(page);
}
async function expect_non_existing_user(page: Page): Promise<void> {
@@ -188,6 +189,7 @@ async function search_non_existing_user(page: Page, str: string, item: string):
await common.select_item_via_typeahead(page, "#search_query", str, item);
await expect_non_existing_user(page);
await un_narrow(page);
+ await expect_home(page);
}
async function search_tests(page: Page): Promise<void> {