Skip to content

Commit

Permalink
test: fix showAllUsers locator
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed Jan 24, 2025
1 parent 57f2b67 commit 4b9f762
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ export class HomeFlextabMembers {
}

async showAllUsers() {
await this.page.locator('.rcx-select >> text=Online').first().click();
await this.page.locator('.rcx-option:has-text("All")').first().click();
const selectInput = this.page.getByRole('button', { name: 'Online' });
await selectInput.click();
await this.page.getByRole('listbox').getByRole('option', { name: 'All' }).click();
}

private async ignoreUserAction(action: string, username: string) {
Expand Down

0 comments on commit 4b9f762

Please sign in to comment.