From 15860c8b13cbb7eca11ce43de93a0e1a13c9d275 Mon Sep 17 00:00:00 2001 From: Hardik Dharmani Date: Fri, 28 Apr 2023 17:40:07 +0530 Subject: [PATCH] tooltips: Convert recipient row tooltips to tippy. --- web/e2e-tests/compose.test.ts | 2 +- web/templates/recipient_row.hbs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/web/e2e-tests/compose.test.ts b/web/e2e-tests/compose.test.ts index 613585eb84..c46c638a6d 100644 --- a/web/e2e-tests/compose.test.ts +++ b/web/e2e-tests/compose.test.ts @@ -113,7 +113,7 @@ async function test_open_close_compose_box(page: Page): Promise { async function test_narrow_to_private_messages_with_cordelia(page: Page): Promise { const you_and_cordelia_selector = - '*[title="Narrow to your direct messages with Cordelia, Lear\'s daughter"]'; + '*[data-tippy-content="Narrow to your direct messages with Cordelia, Lear\'s daughter"]'; // For some unknown reason page.click() isn't working here. await page.evaluate( (selector: string) => document.querySelector(selector)!.click(), diff --git a/web/templates/recipient_row.hbs b/web/templates/recipient_row.hbs index 723e8b5d2b..85b9e6441b 100644 --- a/web/templates/recipient_row.hbs +++ b/web/templates/recipient_row.hbs @@ -2,9 +2,9 @@