diff --git a/web/e2e-tests/message-basics.test.ts b/web/e2e-tests/message-basics.test.ts index 16d73ebd6b..4b4440588d 100644 --- a/web/e2e-tests/message-basics.test.ts +++ b/web/e2e-tests/message-basics.test.ts @@ -96,7 +96,7 @@ async function un_narrow_by_clicking_org_icon(page: Page): Promise { await page.click(".brand"); } -async function expect_recent_topics(page: Page): Promise { +async function expect_recent_view(page: Page): Promise { await page.waitForSelector("#recent_view_table", {visible: true}); assert.strictEqual(await page.title(), "Recent conversations - Zulip Dev - Zulip"); } @@ -132,7 +132,7 @@ async function test_navigations_from_home(page: Page): Promise { `#zhome [title="Narrow to your direct messages with Cordelia, Lear's daughter, King Hamlet"]`, ); await un_narrow_by_clicking_org_icon(page); - await expect_recent_topics(page); + await expect_recent_view(page); } async function search_and_check( diff --git a/web/tests/recent_topics.test.js b/web/tests/recent_topics.test.js index 1f5c178e96..187517873c 100644 --- a/web/tests/recent_topics.test.js +++ b/web/tests/recent_topics.test.js @@ -413,7 +413,7 @@ function test(label, f) { }); } -test("test_recent_topics_show", ({mock_template, override}) => { +test("test_recent_view_show", ({mock_template, override}) => { override(narrow, "save_pre_narrow_offset_for_reload", () => {}); // Note: unread count and urls are fake,