compose: Use tippy for stream select dropdown.

Fixes #25434
This commit is contained in:
Aman Agrawal
2023-05-07 12:45:04 +00:00
committed by Tim Abbott
parent a196b949f7
commit 8ea59f7f02
25 changed files with 437 additions and 353 deletions

View File

@@ -35,7 +35,7 @@ async function create_stream_message_draft(page: Page): Promise<void> {
console.log("Creating stream message draft");
await page.keyboard.press("KeyC");
await page.waitForSelector("#stream_message_recipient_topic", {visible: true});
await common.select_item_via_dropdown(page, "#compose_select_recipient_widget", "Denmark");
await common.select_stream_in_compose_via_dropdown(page, "Denmark");
await common.fill_form(page, "form#send_message_form", {
stream_message_recipient_topic: "tests",
content: "Test stream message.",
@@ -129,7 +129,7 @@ async function test_restore_message_draft_via_draft_overlay(page: Page): Promise
}
async function edit_stream_message_draft(page: Page): Promise<void> {
await common.select_item_via_dropdown(page, "#compose_select_recipient_widget", "Denmark");
await common.select_stream_in_compose_via_dropdown(page, "Denmark");
await common.fill_form(page, "form#send_message_form", {
stream_message_recipient_topic: "tests",
content: "Updated stream message",