diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-01 23:13:22 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-01 23:13:22 +0900 |
commit | 5efea3a298258e91bdc8b768be512f317e05ed5e (patch) | |
tree | ec9670fac33f5ce016cdaecf24c53355715e110e /spec/features/projects/clusters_spec.rb | |
parent | 882cf2e409ce2ea798fce7f3082083fcdf143baf (diff) | |
download | gitlab-ce-5efea3a298258e91bdc8b768be512f317e05ed5e.tar.gz |
Fix pipeline. Fix routing when validation failed.
Diffstat (limited to 'spec/features/projects/clusters_spec.rb')
-rw-r--r-- | spec/features/projects/clusters_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/features/projects/clusters_spec.rb b/spec/features/projects/clusters_spec.rb index 810f2c39b43..b3f723b8104 100644 --- a/spec/features/projects/clusters_spec.rb +++ b/spec/features/projects/clusters_spec.rb @@ -18,6 +18,8 @@ feature 'Clusters', :js do context 'when user does not have a cluster and visits cluster index page' do before do visit project_clusters_path(project) + + click_link 'Create on GKE' end it 'user sees a new page' do @@ -93,7 +95,7 @@ feature 'Clusters', :js do it 'user sees creation form with the succeccful message' do expect(page).to have_content('Cluster integration was successfully removed.') - expect(page).to have_button('Create cluster') + expect(page).to have_content('Choose how to set up cluster integration') end end end @@ -102,6 +104,8 @@ feature 'Clusters', :js do context 'when user has not signed in Google' do before do visit project_clusters_path(project) + + click_link 'Create on GKE' end it 'user sees a login page' do |