Skip to content

Commit

Permalink
fix playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Nov 19, 2024
1 parent 9377e2a commit 08b440c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/ledger-live-desktop/tests/page/market.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ export class MarketPage extends AppPage {
@step("Switch market range for $0")
async switchMarketRange(range: string) {
await this.marketRangeSelect.click();
// TODO: For some reason need to hack selects like that
await this.page.click(`text=${range}`);
await this.page.click(`#react-select-3-listbox >> text=${range}`);
// NOTE: this.page.click(`text=${range}`);
// won't work on 7th row if the coin starts with d (e.g. "dogecoin")
}

@step("Toggle star filter")
Expand Down

0 comments on commit 08b440c

Please sign in to comment.