chore: removed condition for scroll, fixes issue with edit network
This commit is contained in:
parent
37f7b45274
commit
ca88b43bf6
|
@ -127,8 +127,8 @@ editNetworkMainRpcInput = {"container": statusDesktop_mainWindow, "objectName":
|
||||||
editNetworkFailoverRpcUrlInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkFailoverRpcUrlInput", "type": "TextEdit", "visible": True}
|
editNetworkFailoverRpcUrlInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkFailoverRpcUrlInput", "type": "TextEdit", "visible": True}
|
||||||
editNetworkExplorerInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkExplorerInput", "type": "TextEdit"}
|
editNetworkExplorerInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkExplorerInput", "type": "TextEdit"}
|
||||||
editNetworkAknowledgmentCheckbox = {"container": statusDesktop_mainWindow, "objectName": "editNetworkAknowledgmentCheckbox", "type": "StatusCheckBox", "visible": True}
|
editNetworkAknowledgmentCheckbox = {"container": statusDesktop_mainWindow, "objectName": "editNetworkAknowledgmentCheckbox", "type": "StatusCheckBox", "visible": True}
|
||||||
editNetworkRevertButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkRevertButton", "type": "StatusButton"}
|
editNetworkRevertButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkRevertButton", "type": "StatusButton", "visible": True}
|
||||||
editNetworkSaveButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkSaveButton", "type": "StatusButton"}
|
editNetworkSaveButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkSaveButton", "type": "StatusButton", "visible": True}
|
||||||
mainRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "mainRpcInputObject", "type": "StatusInput", "visible": True}
|
mainRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "mainRpcInputObject", "type": "StatusInput", "visible": True}
|
||||||
failoverRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "failoverRpcUrlInputObject", "type": "StatusInput", "visible": True}
|
failoverRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "failoverRpcUrlInputObject", "type": "StatusInput", "visible": True}
|
||||||
|
|
||||||
|
|
|
@ -375,7 +375,6 @@ class EditNetworkSettings(WalletSettingsView):
|
||||||
|
|
||||||
@allure.step('Click Revert to default button and redirect to Networks screen')
|
@allure.step('Click Revert to default button and redirect to Networks screen')
|
||||||
def click_revert_to_default_and_go_to_networks_main_screen(self, attempts: int = 2):
|
def click_revert_to_default_and_go_to_networks_main_screen(self, attempts: int = 2):
|
||||||
if not self._network_revert_to_default.is_visible:
|
|
||||||
self._network_edit_scroll.vertical_scroll_down(self._network_revert_to_default)
|
self._network_edit_scroll.vertical_scroll_down(self._network_revert_to_default)
|
||||||
self._network_revert_to_default.click()
|
self._network_revert_to_default.click()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue