Skip to content

Commit 6b0163a

Browse files
committed
test: update switch network test to streamline Arbitrum network addition
This commit refines the switch network test by removing redundant checks for the Localhost 8545 network and consolidating the Arbitrum network addition into a single step. This enhances test clarity and efficiency while ensuring the local node balance is verified after the network switch.
1 parent 0bb9671 commit 6b0163a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/e2e/tests/network/switch-network.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ describe('Switch network - ', function (this: Suite) {
4949
await switchToNetworkFromSendFlow(driver, 'Ethereum');
5050
await homePage.checkLocalNodeBalanceIsDisplayed();
5151

52-
// Validate the switch network functionality to test network
53-
await switchToNetworkFromSendFlow(driver, 'Localhost 8545');
54-
await homePage.checkLocalNodeBalanceIsDisplayed();
55-
56-
// Add Arbitrum network and perform the switch network functionality
52+
// Add Arbitrum network
5753
await searchAndSwitchToNetworkFromGlobalMenuFlow(driver, 'Arbitrum');
5854
await homePage.checkLocalNodeBalanceIsDisplayed();
5955

0 commit comments

Comments
 (0)