File tree Expand file tree Collapse file tree
test/integration_selenium Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1593,9 +1593,9 @@ def workflow_editor_dismiss_state_upgrade_modal(self):
15931593 """
15941594 editor = self .components .workflow_editor
15951595 self .sleep_for (self .wait_types .UX_RENDER )
1596- if not editor .state_upgrade_modal .is_absent :
1597- editor .modal_button_continue .wait_for_and_click ()
1598- editor .state_upgrade_modal .wait_for_absent ()
1596+ if editor .state_upgrade_modal .is_displayed :
1597+ editor .state_upgrade_modal_close .wait_for_and_click ()
1598+ editor .state_upgrade_modal .wait_for_absent_or_hidden ()
15991599
16001600 def workflow_editor_destroy_connection (self , sink ):
16011601 editor = self .components .workflow_editor
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_tool_shed_unmatched_version_upgrade(self):
6666 self .components .workflows .edit_button .wait_for_and_click ()
6767 self .assert_modal_has_text ("Using version '0.1.1' instead of version '0.0.0'" )
6868 self .screenshot ("workflow_editor_tool_repository_upgrade" )
69- self .components .workflow_editor .modal_button_close .wait_for_and_click ()
69+ self .components .workflow_editor .state_upgrade_modal_close .wait_for_and_click ()
7070 self .assert_workflow_has_changes_and_save ()
7171 workflow = self .workflow_populator .download_workflow (workflow_id )
7272 assert (
You can’t perform that action at this time.
0 commit comments