Skip to content

Commit

Permalink
Merge pull request #8112 from LedgerHQ/support/qaa_302_detox_disable_…
Browse files Browse the repository at this point in the history
…desktop_sync

[QAA-302][Detox] Disable irrelevant sync with desktop test
  • Loading branch information
VicAlbr authored Oct 16, 2024
2 parents 7070896 + 446e661 commit ddb71f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class OnboardingStepsPage {
getStartedButtonId = "onboarding-getStarted-button";
acceptAnalyticsButtonId = "accept-analytics-button";
exploreWithoutDeviceButtonId = "discoverLive-exploreWithoutADevice";
readyToScanButtonID = "onboarding-scan-button";
scanAndImportAccountsPageID = "onboarding-import-accounts-title";
discoverLiveTitle = (index: number) => `onboarding-discoverLive-${index}-title`;
onboardingGetStartedButton = () => getElementById(this.getStartedButtonId);
acceptAnalyticsButton = () => getElementById(this.acceptAnalyticsButtonId);
Expand All @@ -23,8 +21,6 @@ export default class OnboardingStepsPage {
buyLedgerButton = () => getElementById("onboarding-noLedgerYetModal-buy");
exploreWithoutDeviceButton = () => getElementById(this.exploreWithoutDeviceButtonId);
connectLedgerButton = () => getElementById("Existing Wallet | Connect");
syncWithLedgerLiveDesktop = () => getElementById("Existing Wallet | Sync");
readyToScanButton = () => getElementById(this.readyToScanButtonID);
pairNanoButton = () => getElementById("Onboarding-PairNewNano");
maybeLaterButton = () => getElementById("notifications-prompt-later");

Expand Down Expand Up @@ -100,18 +96,6 @@ export default class OnboardingStepsPage {
await tapByElement(this.connectLedgerButton());
}

async chooseToSyncWithLedgerLiveDesktop() {
await tapByElement(this.syncWithLedgerLiveDesktop());
}

async goesThroughLedgerLiveDesktopScanning() {
await tapByElement(this.readyToScanButton());
}

async waitForScanningPage() {
await waitForElementById(this.scanAndImportAccountsPageID);
}

// Setup new Ledger
async chooseSetupLedger() {
await tapById(this.setupLedger);
Expand Down
10 changes: 0 additions & 10 deletions apps/ledger-live-mobile/e2e/specs/onboarding.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,4 @@ describe("Onboarding", () => {
await app.common.addDeviceViaBluetooth();
await app.portfolio.waitForPortfolioPageToLoad();
});

$TmsLink("B2CQA-1804");
it("does the Onboarding and choose to synchronize with Ledger Live Desktop", async () => {
await device.launchApp({ permissions: { camera: "YES" } }); // Make sure permission is given
await app.onboarding.startOnboarding();
await app.onboarding.chooseToAccessYourWallet();
await app.onboarding.chooseToSyncWithLedgerLiveDesktop();
await app.onboarding.goesThroughLedgerLiveDesktopScanning();
await app.onboarding.waitForScanningPage();
});
});

0 comments on commit ddb71f9

Please sign in to comment.