Skip to content

Commit

Permalink
test: removing disable synchronization and selectMockDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1Marek committed Sep 27, 2023
1 parent d280934 commit ef44aa8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions apps/ledger-live-mobile/e2e/specs/depositFlow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const knownDevice = {
};

const deviceActionSteps = async () => {
await device.disableSynchronization();
await deviceAction.selectMockDevice();
await deviceAction.openApp();
};
Expand Down Expand Up @@ -47,7 +46,7 @@ describe("Deposit Flow", () => {
await deviceActionSteps();
await depositPage.selectAccount("Bitcoin 1");
await depositPage.selectVerifyAddress();
await deviceActionSteps();
await deviceAction.openApp();
await depositPage.expectAddressIsVerified(btcDepositAddress);
});

Expand All @@ -67,7 +66,7 @@ describe("Deposit Flow", () => {
await depositPage.selectAsset("ETH");
await receivePage.selectCurrency("optimism");
await depositPage.createAccount();
await deviceActionSteps();
await deviceAction.openApp();
await depositPage.selectAsset("OP Mainnet 1");
await depositPage.selectAsset("OP Mainnet 2");
await depositPage.selectAsset("OP Mainnet 3");
Expand All @@ -82,7 +81,7 @@ describe("Deposit Flow", () => {
await depositPage.searchAsset("pol");
await depositPage.selectAsset("MATIC");
await receivePage.selectCurrency("bsc");
await deviceActionSteps();
await deviceAction.openApp();
await depositPage.selectAsset("Binance Smart Chain 1");
await depositPage.selectDontVerifyAddress();
await depositPage.selectReconfirmDontVerify();
Expand All @@ -99,9 +98,4 @@ describe("Deposit Flow", () => {
await depositPage.selectReconfirmDontVerify();
await depositPage.expectDepositPageIsDisplayed("XRP", "XRP 2");
});

/*
afterEach(async () => {
await device.terminateApp();
});*/
});

0 comments on commit ef44aa8

Please sign in to comment.