From d8a4ca38ab4d7c21aa41a0bf5a6ef41b725ac7d9 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Wed, 6 Nov 2024 21:40:42 -0800 Subject: [PATCH] stream_sidebar_row: Remove title for channel name. --- web/e2e-tests/navigation.test.ts | 3 ++- web/templates/stream_sidebar_row.hbs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/e2e-tests/navigation.test.ts b/web/e2e-tests/navigation.test.ts index d95b7756f3..6bf2401bc4 100644 --- a/web/e2e-tests/navigation.test.ts +++ b/web/e2e-tests/navigation.test.ts @@ -6,7 +6,8 @@ import * as common from "./lib/common"; async function navigate_using_left_sidebar(page: Page, stream_name: string): Promise { 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}); } diff --git a/web/templates/stream_sidebar_row.hbs b/web/templates/stream_sidebar_row.hbs index 0808881a2e..a24beb99b8 100644 --- a/web/templates/stream_sidebar_row.hbs +++ b/web/templates/stream_sidebar_row.hbs @@ -8,7 +8,7 @@ {{> stream_privacy }} - {{name}} + {{name}}