mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
message basics e2e: Add expect_home in two places to match other tests.
This commit is contained in:
@@ -162,6 +162,7 @@ async function search_silent_user(page: Page, str: string, item: string): Promis
|
|||||||
expect_message,
|
expect_message,
|
||||||
);
|
);
|
||||||
await un_narrow(page);
|
await un_narrow(page);
|
||||||
|
await expect_home(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function expect_non_existing_user(page: Page): Promise<void> {
|
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 common.select_item_via_typeahead(page, "#search_query", str, item);
|
||||||
await expect_non_existing_user(page);
|
await expect_non_existing_user(page);
|
||||||
await un_narrow(page);
|
await un_narrow(page);
|
||||||
|
await expect_home(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function search_tests(page: Page): Promise<void> {
|
async function search_tests(page: Page): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user