Skip to content

Commit

Permalink
test: changed Send button locator to be more specific (#33916)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandernsilva authored Nov 8, 2024
1 parent 0813cba commit c2b1365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.locator('button[aria-label="Send"]').click();
await this.page.getByRole('button', { name: 'Send', exact: true }).click();
}

async dispatchSlashCommand(text: string): Promise<void> {
Expand Down

0 comments on commit c2b1365

Please sign in to comment.