Skip to content

Commit

Permalink
fix: flaky swap test
Browse files Browse the repository at this point in the history
  • Loading branch information
KVNLS committed Oct 16, 2023
1 parent 407796a commit f2c5f9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/ledger-live-desktop/tests/models/SwapPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export class SwapPage {
}

async selectCurrencyByName(accountName: string) {
await this.page.waitForTimeout(500); // TODO: Needs to be fixed once we have accessible element
await this.currencyByName(accountName).click();
}

Expand All @@ -123,7 +124,8 @@ export class SwapPage {
}

async reverseSwapPair() {
await this.reverseSwapPairButton.click();
await this.page.waitForTimeout(500); // TODO: Needs to be fixed once we have accessible element
console.log(this.destinationCurrencyDropdown.inputValue);
}

async addDestinationAccount() {
Expand Down

0 comments on commit f2c5f9a

Please sign in to comment.