Skip to content

Commit

Permalink
fix(e2e): test 'compared offers' waits for quotes response before pro…
Browse files Browse the repository at this point in the history
…ceeding (#16703)
  • Loading branch information
Vere-Grey authored Jan 29, 2025
1 parent 0342e33 commit b0e4e70
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ export class MarketActions {
await expect(this.youPayFiatInput).not.toHaveValue('');
await this.selectCountryOfResidence(country);
await this.selectFiatCurrency(currency);
const quotesPromise = this.page.waitForResponse(invityEndpoint.buyQuotes);
await this.youPayFiatInput.fill(amount);
await quotesPromise;
// Warning: Bug #16054, as a workaround we wait for offer sync after setting the amount
await this.waitForOffersSyncToFinish();
}
Expand Down

0 comments on commit b0e4e70

Please sign in to comment.