diff --git a/tests/e2e/pages/AppShell.ts b/tests/e2e/pages/AppShell.ts index a8b4ddb1a..409f1e1dd 100644 --- a/tests/e2e/pages/AppShell.ts +++ b/tests/e2e/pages/AppShell.ts @@ -19,7 +19,7 @@ export class AppShell { } async sendTextMessage(text: string): Promise { - await this.page.locator('div[data-slate-editor="true"]').last().click(); + await this.page.locator('[data-editable-name="RoomInput"]').last().click(); await this.page.keyboard.type(text); await this.page.keyboard.press('Enter'); }