mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
recent: Rename recent_topics in some test files.
This commit is contained in:
parent
d3e561dbb1
commit
fc2ff74ea2
@ -96,7 +96,7 @@ async function un_narrow_by_clicking_org_icon(page: Page): Promise<void> {
|
||||
await page.click(".brand");
|
||||
}
|
||||
|
||||
async function expect_recent_topics(page: Page): Promise<void> {
|
||||
async function expect_recent_view(page: Page): Promise<void> {
|
||||
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<void> {
|
||||
`#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(
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user