diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 11:10:13 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 11:10:13 +0000 |
commit | 0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch) | |
tree | 7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /qa/qa/page/project/settings/advanced.rb | |
parent | 72123183a20411a36d607d70b12d57c484394c8e (diff) | |
download | gitlab-ce-0ea3fcec397b69815975647f5e2aa5fe944a8486.tar.gz |
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to 'qa/qa/page/project/settings/advanced.rb')
-rw-r--r-- | qa/qa/page/project/settings/advanced.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/qa/qa/page/project/settings/advanced.rb b/qa/qa/page/project/settings/advanced.rb index 525210a08f6..fd9cc8a13e7 100644 --- a/qa/qa/page/project/settings/advanced.rb +++ b/qa/qa/page/project/settings/advanced.rb @@ -5,7 +5,7 @@ module QA module Project module Settings class Advanced < Page::Base - include Component::ConfirmModal + include QA::Page::Component::ConfirmModal include Component::NamespaceSelect view 'app/views/projects/edit.html.haml' do @@ -65,15 +65,13 @@ module QA end def archive_project - page.accept_alert("Are you sure that you want to archive this project?") do - click_element :archive_project_link - end + click_element :archive_project_link + click_confirmation_ok_button end def unarchive_project - page.accept_alert("Are you sure that you want to unarchive this project?") do - click_element :unarchive_project_link - end + click_element :unarchive_project_link + click_confirmation_ok_button end end end |