chore: address nightly failures on march 29, 2024
This commit is contained in:
parent
ceeaca8c54
commit
4117a18ca3
|
@ -31,16 +31,19 @@ class AddSavedAddressPopup(BasePopup):
|
||||||
|
|
||||||
@allure.step('Set ethereum mainnet network checkbox')
|
@allure.step('Set ethereum mainnet network checkbox')
|
||||||
def set_ethereum_mainnet_network(self, value: bool):
|
def set_ethereum_mainnet_network(self, value: bool):
|
||||||
|
assert self._ethereum_mainnet_checkbox.exists
|
||||||
self._ethereum_mainnet_checkbox.set(value)
|
self._ethereum_mainnet_checkbox.set(value)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
@allure.step('Set optimism mainnet network checkbox')
|
@allure.step('Set optimism mainnet network checkbox')
|
||||||
def set_optimism_mainnet_network(self, value: bool):
|
def set_optimism_mainnet_network(self, value: bool):
|
||||||
|
assert self._optimism_mainnet_checkbox.exists
|
||||||
self._optimism_mainnet_checkbox.set(value)
|
self._optimism_mainnet_checkbox.set(value)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
@allure.step('Set arbitrum mainnet network checkbox')
|
@allure.step('Set arbitrum mainnet network checkbox')
|
||||||
def set_arbitrum_mainnet_network(self, value: bool):
|
def set_arbitrum_mainnet_network(self, value: bool):
|
||||||
|
assert self._arbitrum_mainnet_checkbox.exists
|
||||||
self._arbitrum_mainnet_checkbox.set(value)
|
self._arbitrum_mainnet_checkbox.set(value)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,10 @@ pytestmark = marks
|
||||||
'Network: Network: Editing network -> Restore defaults')
|
'Network: Network: Editing network -> Restore defaults')
|
||||||
@pytest.mark.case(703515)
|
@pytest.mark.case(703515)
|
||||||
@pytest.mark.parametrize('network_tab', [
|
@pytest.mark.parametrize('network_tab', [
|
||||||
pytest.param(WalletNetworkSettings.EDIT_NETWORK_LIVE_TAB.value),
|
pytest.param(WalletNetworkSettings.EDIT_NETWORK_LIVE_TAB.value)
|
||||||
pytest.param(WalletNetworkSettings.EDIT_NETWORK_TEST_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):
|
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()
|
networks = main_screen.left_panel.open_settings().left_panel.open_wallet_settings().open_networks()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue