diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-05 18:17:54 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-05 18:17:54 +0000 |
commit | 01979f1e76eee97a64cd25c0a7a20425c339d480 (patch) | |
tree | 73ccb435ce6e08f7816f35e91b8f01c574c38ecc /spec/features/projects/clusters/user_spec.rb | |
parent | 856f7ae4d12afea169d4929c0c1b34bc40a6ca28 (diff) | |
download | gitlab-ce-01979f1e76eee97a64cd25c0a7a20425c339d480.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/clusters/user_spec.rb')
-rw-r--r-- | spec/features/projects/clusters/user_spec.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/features/projects/clusters/user_spec.rb b/spec/features/projects/clusters/user_spec.rb index d9887ea4fe0..2b18116e5b9 100644 --- a/spec/features/projects/clusters/user_spec.rb +++ b/spec/features/projects/clusters/user_spec.rb @@ -82,16 +82,7 @@ RSpec.describe 'User Cluster', :js do expect(page).to have_button('Save changes') end - context 'when user disables the cluster' do - before do - page.find(:css, '.js-cluster-enable-toggle-area .js-project-feature-toggle').click - page.within('.js-cluster-details-form') { click_button 'Save changes' } - end - - it 'user sees the successful message' do - expect(page).to have_content('Kubernetes cluster was successfully updated.') - end - end + include_examples "user disables a cluster" context 'when user changes cluster parameters' do before do |