From dd03d94bbf17850bf7f7becb37816a03c02faca6 Mon Sep 17 00:00:00 2001 From: Martin Schoeler Date: Thu, 24 Oct 2024 19:12:25 -0300 Subject: [PATCH] test: fix flaky omnichannel send (#33768) --- apps/meteor/tests/e2e/page-objects/fragments/home-content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/tests/e2e/page-objects/fragments/home-content.ts b/apps/meteor/tests/e2e/page-objects/fragments/home-content.ts index 2fe12cab570c..fdef7bef7c58 100644 --- a/apps/meteor/tests/e2e/page-objects/fragments/home-content.ts +++ b/apps/meteor/tests/e2e/page-objects/fragments/home-content.ts @@ -85,7 +85,7 @@ export class HomeContent { await this.joinRoomIfNeeded(); await this.page.waitForSelector('[name="msg"]:not([disabled])'); await this.page.locator('[name="msg"]').fill(text); - await this.page.getByLabel('Send').click(); + await this.page.locator('button[aria-label="Send"]').click(); } async dispatchSlashCommand(text: string): Promise {