Skip to content

Commit

Permalink
Merge pull request #8980 from LedgerHQ/support/fix-e2e-ci
Browse files Browse the repository at this point in the history
[QAA] fix ci: improve locator
  • Loading branch information
VicAlbr authored Jan 22, 2025
2 parents 3c2f593 + 9435edd commit 2ec4e3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ledger-live-desktop/tests/page/modal/receive.modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export class ReceiveModal extends Modal {
"text=Verify that the shared address exactly matches the one on your device",
);
private approveLabel = this.page.locator("text=Address shared securely");
private receiveAddressValue = (address: string) => this.page.locator(`text=${address}`);
private receiveAddressValue = (address: string) =>
this.page.getByTestId("modal-content").locator(`text=${address}`);
private addressDisplayedValue = this.page.locator("#address-field");
private selectAccount = this.page.getByText("Choose a crypto asset");
private warningMessage = this.page.locator('div[type="warning"]');
Expand Down

0 comments on commit 2ec4e3d

Please sign in to comment.