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 @@ -1591,9 +1591,9 @@ def workflow_editor_dismiss_state_upgrade_modal(self):
15911591 """
15921592 editor = self .components .workflow_editor
15931593 self .sleep_for (self .wait_types .UX_RENDER )
1594- if not editor .state_upgrade_modal .is_absent :
1595- editor .modal_button_continue .wait_for_and_click ()
1596- editor .state_upgrade_modal .wait_for_absent ()
1594+ if editor .state_upgrade_modal .is_displayed :
1595+ editor .state_upgrade_modal_close .wait_for_and_click ()
1596+ editor .state_upgrade_modal .wait_for_absent_or_hidden ()
15971597
15981598 def workflow_editor_destroy_connection (self , sink ):
15991599 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