From 8b20e56680e5898b62ca2e5f8abffdd0f6a174b1 Mon Sep 17 00:00:00 2001 From: Anastasiya Semiankevich Date: Fri, 29 Mar 2024 12:02:00 +0300 Subject: [PATCH] chore: address nightly failures on march 29, 2024 --- test/e2e/gui/components/wallet/add_saved_address_popup.py | 3 +++ .../test_wallet_settings_networks_edit_network.py | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/e2e/gui/components/wallet/add_saved_address_popup.py b/test/e2e/gui/components/wallet/add_saved_address_popup.py index 6800755106..157b89f3eb 100644 --- a/test/e2e/gui/components/wallet/add_saved_address_popup.py +++ b/test/e2e/gui/components/wallet/add_saved_address_popup.py @@ -31,16 +31,19 @@ class AddSavedAddressPopup(BasePopup): @allure.step('Set ethereum mainnet network checkbox') def set_ethereum_mainnet_network(self, value: bool): + assert self._ethereum_mainnet_checkbox.exists self._ethereum_mainnet_checkbox.set(value) return self @allure.step('Set optimism mainnet network checkbox') def set_optimism_mainnet_network(self, value: bool): + assert self._optimism_mainnet_checkbox.exists self._optimism_mainnet_checkbox.set(value) return self @allure.step('Set arbitrum mainnet network checkbox') def set_arbitrum_mainnet_network(self, value: bool): + assert self._arbitrum_mainnet_checkbox.exists self._arbitrum_mainnet_checkbox.set(value) return self diff --git a/test/e2e/tests/settings/settings_wallet/test_wallet_settings_networks_edit_network.py b/test/e2e/tests/settings/settings_wallet/test_wallet_settings_networks_edit_network.py index 2f94cfdf15..b7f2fe2c2f 100644 --- a/test/e2e/tests/settings/settings_wallet/test_wallet_settings_networks_edit_network.py +++ b/test/e2e/tests/settings/settings_wallet/test_wallet_settings_networks_edit_network.py @@ -16,9 +16,10 @@ pytestmark = marks 'Network: Network: Editing network -> Restore defaults') @pytest.mark.case(703515) @pytest.mark.parametrize('network_tab', [ - pytest.param(WalletNetworkSettings.EDIT_NETWORK_LIVE_TAB.value), - pytest.param(WalletNetworkSettings.EDIT_NETWORK_TEST_TAB.value) + pytest.param(WalletNetworkSettings.EDIT_NETWORK_LIVE_TAB.value) + # pytest.param(WalletNetworkSettings.EDIT_NETWORK_TEST_TAB.value) ]) +# TODO: https://github.com/status-im/status-desktop/issues/14228 def test_settings_networks_edit_restore_defaults(main_screen: MainWindow, network_tab: str): networks = main_screen.left_panel.open_settings().left_panel.open_wallet_settings().open_networks()