diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-17 09:07:48 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-17 09:07:48 +0000 |
commit | 5bd24a54ef4ce3a38a860eb53b66d062c2382971 (patch) | |
tree | 5f5e65571dfcb2c62c27600ee7655dec4b44c923 /spec/features/projects/clusters | |
parent | 74673d04d25ffed35cbcf17cd42969bed0a4e705 (diff) | |
download | gitlab-ce-5bd24a54ef4ce3a38a860eb53b66d062c2382971.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/clusters')
-rw-r--r-- | spec/features/projects/clusters/gcp_spec.rb | 8 | ||||
-rw-r--r-- | spec/features/projects/clusters/user_spec.rb | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/spec/features/projects/clusters/gcp_spec.rb b/spec/features/projects/clusters/gcp_spec.rb index 741f46cef45..7c8b2640e89 100644 --- a/spec/features/projects/clusters/gcp_spec.rb +++ b/spec/features/projects/clusters/gcp_spec.rb @@ -131,11 +131,11 @@ describe 'Gcp Cluster', :js, :do_not_mock_admin_mode do end end - context 'when user destroy the cluster' do + context 'when user destroys the cluster' do before do - page.accept_confirm do - click_link 'Remove integration' - end + click_button 'Remove integration and resources' + fill_in 'confirm_cluster_name_input', with: cluster.name + click_button 'Remove integration' end it 'user sees creation form with the successful message' do diff --git a/spec/features/projects/clusters/user_spec.rb b/spec/features/projects/clusters/user_spec.rb index bdaeda83926..38efcf758e1 100644 --- a/spec/features/projects/clusters/user_spec.rb +++ b/spec/features/projects/clusters/user_spec.rb @@ -101,11 +101,11 @@ describe 'User Cluster', :js do end end - context 'when user destroy the cluster' do + context 'when user destroys the cluster' do before do - page.accept_confirm do - click_link 'Remove integration' - end + click_button 'Remove integration and resources' + fill_in 'confirm_cluster_name_input', with: cluster.name + click_button 'Remove integration' end it 'user sees creation form with the successful message' do |