diff --git a/app/components/Views/NetworkSelector/NetworkSelector.tsx b/app/components/Views/NetworkSelector/NetworkSelector.tsx index eb18992d684..8c95314ef17 100644 --- a/app/components/Views/NetworkSelector/NetworkSelector.tsx +++ b/app/components/Views/NetworkSelector/NetworkSelector.tsx @@ -521,7 +521,7 @@ const NetworkSelector = () => { return ( `network-cell-${customNetwork}`, }; diff --git a/e2e/specs/networks/add-popular-networks.spec.js b/e2e/specs/networks/add-popular-networks.spec.js index ce8ba6ce2e7..377f9e0ce43 100644 --- a/e2e/specs/networks/add-popular-networks.spec.js +++ b/e2e/specs/networks/add-popular-networks.spec.js @@ -9,6 +9,7 @@ import { loginToApp } from '../../viewHelper'; import TabBarComponent from '../../pages/TabBarComponent'; import FixtureBuilder from '../../fixtures/fixture-builder'; import { withFixtures } from '../../fixtures/fixture-helper'; +import Assertions from '../../utils/Assertions'; const Arbitrum = 'Arbitrum One'; @@ -31,6 +32,7 @@ describe(Regression('Add all popular networks'), () => { await SettingsView.tapNetworks(); await NetworkView.tapAddNetworkButton(); await NetworkView.tapNetworkByName(Arbitrum); + await Assertions.checkIfVisible(NetworkApprovalModal.container); await NetworkApprovalModal.tapApproveButton(); await NetworkAddedModal.tapCloseButton(); }, diff --git a/e2e/specs/permission-systems/permission-system-delete-wallet.spec.js b/e2e/specs/permission-systems/permission-system-delete-wallet.spec.js index 0686d0f76a9..597773113b5 100644 --- a/e2e/specs/permission-systems/permission-system-delete-wallet.spec.js +++ b/e2e/specs/permission-systems/permission-system-delete-wallet.spec.js @@ -68,12 +68,15 @@ describe( await DeleteWalletModal.tapIUnderstandButton(); await DeleteWalletModal.typeDeleteInInputBox(); await DeleteWalletModal.tapDeleteMyWalletButton(); + await Assertions.checkIfNotVisible(DeleteWalletModal.container); await TestHelpers.delay(2000); await Assertions.checkIfVisible(OnboardingView.container); if (device.getPlatform() === 'ios') { await Assertions.checkIfVisible(ToastModal.notificationTitle); + await Assertions.checkIfNotVisible(ToastModal.notificationTitle); + } else { + await TestHelpers.delay(3000); } - await Assertions.checkIfNotVisible(ToastModal.notificationTitle); await OnboardingView.tapCreateWallet(); // Create new wallet