diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-12-05 21:21:34 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-12-05 21:21:34 +0100 |
commit | 0ac2d8ab13d753b32e102873b9f9285b6c7b48c4 (patch) | |
tree | 31569c465c969caf2550d2eda8496ccee06dec92 | |
parent | b6e32503d4e768d91e56d24d1611beb0b4f36f11 (diff) | |
download | gitlab-ce-0ac2d8ab13d753b32e102873b9f9285b6c7b48c4.tar.gz |
Remove Add Cluster button from clusters/index
-rw-r--r-- | app/views/projects/clusters/_tabs.html.haml | 2 | ||||
-rw-r--r-- | spec/features/projects/clusters_spec.rb | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/app/views/projects/clusters/_tabs.html.haml b/app/views/projects/clusters/_tabs.html.haml index 920ed40ea69..c8120e806fa 100644 --- a/app/views/projects/clusters/_tabs.html.haml +++ b/app/views/projects/clusters/_tabs.html.haml @@ -14,5 +14,3 @@ = link_to project_clusters_path(@project), class: "js-all-tab" do = s_("ClusterIntegration|All") %span.badge= @all_count - .nav-controls - = link_to s_("ClusterIntegration|Add cluster"), new_project_cluster_path(@project), class: "btn btn-success btn-add-cluster disabled has-tooltip js-add-cluster", title: s_("ClusterIntegration|Multiple clusters are available in GitLab Entreprise Edition Premium and Ultimate") diff --git a/spec/features/projects/clusters_spec.rb b/spec/features/projects/clusters_spec.rb index 2fd12b7ff80..008bdf2044b 100644 --- a/spec/features/projects/clusters_spec.rb +++ b/spec/features/projects/clusters_spec.rb @@ -35,10 +35,6 @@ feature 'Clusters', :js do expect(page).to have_selector('.gl-responsive-table-row', count: 2) end - it 'user sees a disabled add cluster button ' do - expect(page).to have_selector('.js-add-cluster.disabled') - end - it 'user sees navigation tabs' do expect(page.find('.js-active-tab').text).to include('Active') expect(page.find('.js-active-tab .badge').text).to include('1') |