Skip to content

Commit 07c9edd

Browse files
committed
fix(tests): merge the 2 tests inside one
1 parent 10cc40f commit 07c9edd

File tree

2 files changed

+2
-59
lines changed

2 files changed

+2
-59
lines changed

e2e/mobile/specs/mainNavigationLegacy.spec.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

e2e/mobile/specs/mainNavigationWallet40.spec.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
const ACCOUNT = Account.ETH_1;
2-
const CURRENCY = ACCOUNT.currency;
3-
41
$TmsLink("B2CQA-4383");
52
$TmsLink("B2CQA-4385");
63
const tags: string[] = ["@NanoSP", "@LNS", "@NanoX", "@Stax", "@Flex", "@NanoGen5"];
74
tags.forEach(tag => $Tag(tag));
85

9-
describe("Wallet 4.0 Main Navigation", () => {
6+
describe("Main Navigation", () => {
107
beforeAll(async () => {
118
await app.init({
129
userdata: "skip-onboarding",
13-
speculosApp: CURRENCY.speculosApp,
1410
featureFlags: {
1511
lwmWallet40: {
1612
enabled: true,
@@ -33,9 +29,8 @@ describe("Wallet 4.0 Main Navigation", () => {
3329
await app.mainNavigation.expectLegacyTabsNotVisible();
3430
});
3531

36-
it("should navigate to Swap via bottom tab and show Swap page", async () => {
32+
it("should navigate to Swap via bottom tab", async () => {
3733
await app.mainNavigation.tapWallet40Tab("swap");
38-
await app.mainNavigation.expectSwapPageVisible();
3934
await app.mainNavigation.expectWallet40BottomTabsVisible();
4035
});
4136

0 commit comments

Comments
 (0)