Skip to content

Commit

Permalink
Updating locators on success screen and key deletion due to an update…
Browse files Browse the repository at this point in the history
… on wording #7853 (#7877)

* Updating success text locator due to update on wording #7853

* Update text on locator

* Fixing prettier
  • Loading branch information
mohamedzitouni authored Sep 23, 2024
1 parent 1605678 commit be1d33b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ export class LedgerSyncDrawer extends Drawer {
private closeLedgerSyncButton = this.page.getByRole("button", { name: "Close" });
private manageBackupButton = this.page.getByTestId("walletSync-manage-backup");
private confirmBackupDeletionButton = this.page.getByRole("button", { name: "Delete" });
private successTextElement = this.page.locator("span", { hasText: "Success" }).first();
private successTextElement = this.page
.locator("span", { hasText: "Ledger Sync turned on for" })
.or(this.page.locator("span", { hasText: "Sync successful!" }))
.first();
private backupDeletionSuccessText = this.page.getByText(
"Your devices have been unsynchronized and your key has been deleted",
"Your Ledger Live apps are no longer synched",
);

@step("Synchronize accounts")
Expand Down

0 comments on commit be1d33b

Please sign in to comment.