stream_sidebar_row: Remove title for channel name.

This commit is contained in:
evykassirer 2024-11-06 21:40:42 -08:00 committed by Tim Abbott
parent f29f1299aa
commit d8a4ca38ab
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,8 @@ import * as common from "./lib/common";
async function navigate_using_left_sidebar(page: Page, stream_name: string): Promise<void> { async function navigate_using_left_sidebar(page: Page, stream_name: string): Promise<void> {
console.log("Visiting #" + stream_name); console.log("Visiting #" + stream_name);
await page.click(`.stream-name[title="${stream_name}"]`); const stream_id = await page.evaluate(() => zulip_test.get_sub("Verona")!.stream_id);
await page.click(`.narrow-filter[data-stream-id="${stream_id}"] .stream-name`);
await page.waitForSelector(`#message_feed_container`, {visible: true}); await page.waitForSelector(`#message_feed_container`, {visible: true});
} }

View File

@ -8,7 +8,7 @@
{{> stream_privacy }} {{> stream_privacy }}
</span> </span>
<a href="{{url}}" title="{{name}}" class="stream-name">{{name}}</a> <a href="{{url}}" class="stream-name">{{name}}</a>
<div class="left-sidebar-controls"> <div class="left-sidebar-controls">
{{#if can_post_messages}} {{#if can_post_messages}}