summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2017-12-06 01:46:24 +0100
committerMatija Čupić <matteeyah@gmail.com>2017-12-06 01:47:05 +0100
commit1bc1c2d0b2cc5c4c1de5ebdf4229edf6d13d6636 (patch)
tree445aaef220b399a3d88204fec130cbd270334990
parent8675ad6f346270aabafa57f094617306504fe766 (diff)
downloadgitlab-ce-multiple-clusters-single-list.tar.gz
Remove Add Cluster button in clusters/indexmultiple-clusters-single-list
-rw-r--r--app/views/projects/clusters/index.html.haml2
-rw-r--r--spec/features/projects/clusters_spec.rb4
2 files changed, 0 insertions, 6 deletions
diff --git a/app/views/projects/clusters/index.html.haml b/app/views/projects/clusters/index.html.haml
index f14ec0594dd..bec512be91c 100644
--- a/app/views/projects/clusters/index.html.haml
+++ b/app/views/projects/clusters/index.html.haml
@@ -8,8 +8,6 @@
.top-area.adjust
.nav-text
= s_("ClusterIntegration|Clusters can be used to deploy applications and to provide Review Apps for this project")
- .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")
.ci-table.js-clusters-list
.gl-responsive-table-row.table-row-header{ role: "row" }
.table-section.section-30{ role: "rowheader" }
diff --git a/spec/features/projects/clusters_spec.rb b/spec/features/projects/clusters_spec.rb
index 3eb15b0d5f6..93929bf6814 100644
--- a/spec/features/projects/clusters_spec.rb
+++ b/spec/features/projects/clusters_spec.rb
@@ -30,10 +30,6 @@ feature 'Clusters', :js do
visit project_clusters_path(project)
end
- it 'user sees a disabled add cluster button ' do
- expect(page).to have_selector('.js-add-cluster.disabled')
- end
-
it 'user sees a table with one cluster' do
# One is the header row, the other the cluster row
expect(page).to have_selector('.gl-responsive-table-row', count: 2)