Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e6abf0aa
Commit
e6abf0aa
authored
Nov 04, 2021
by
anna_vovchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated specs with the new button copy
parent
ed174c1b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
15 deletions
+15
-15
spec/features/admin/clusters/eks_spec.rb
spec/features/admin/clusters/eks_spec.rb
+1
-1
spec/features/clusters/create_agent_spec.rb
spec/features/clusters/create_agent_spec.rb
+1
-1
spec/features/groups/clusters/eks_spec.rb
spec/features/groups/clusters/eks_spec.rb
+1
-1
spec/features/groups/clusters/user_spec.rb
spec/features/groups/clusters/user_spec.rb
+2
-2
spec/features/projects/cluster_agents_spec.rb
spec/features/projects/cluster_agents_spec.rb
+1
-1
spec/features/projects/clusters/eks_spec.rb
spec/features/projects/clusters/eks_spec.rb
+1
-1
spec/features/projects/clusters/gcp_spec.rb
spec/features/projects/clusters/gcp_spec.rb
+4
-4
spec/features/projects/clusters/user_spec.rb
spec/features/projects/clusters/user_spec.rb
+2
-2
spec/features/projects/clusters_spec.rb
spec/features/projects/clusters_spec.rb
+2
-2
No files found.
spec/features/admin/clusters/eks_spec.rb
View file @
e6abf0aa
...
@@ -14,7 +14,7 @@ RSpec.describe 'Instance-level AWS EKS Cluster', :js do
...
@@ -14,7 +14,7 @@ RSpec.describe 'Instance-level AWS EKS Cluster', :js do
before
do
before
do
visit
admin_clusters_path
visit
admin_clusters_path
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
end
end
context
'when user creates a cluster on AWS EKS'
do
context
'when user creates a cluster on AWS EKS'
do
...
...
spec/features/clusters/create_agent_spec.rb
View file @
e6abf0aa
...
@@ -26,7 +26,7 @@ RSpec.describe 'Cluster agent registration', :js do
...
@@ -26,7 +26,7 @@ RSpec.describe 'Cluster agent registration', :js do
it
'allows the user to select an agent to install, and displays the resulting agent token'
do
it
'allows the user to select an agent to install, and displays the resulting agent token'
do
click_link
(
'GitLab Agent managed clusters'
)
click_link
(
'GitLab Agent managed clusters'
)
click_button
(
'
Integrate with the
GitLab Agent'
)
click_button
(
'
Connect with a
GitLab Agent'
)
expect
(
page
).
to
have_content
(
'Install new Agent'
)
expect
(
page
).
to
have_content
(
'Install new Agent'
)
click_button
(
'Select an Agent'
)
click_button
(
'Select an Agent'
)
...
...
spec/features/groups/clusters/eks_spec.rb
View file @
e6abf0aa
...
@@ -19,7 +19,7 @@ RSpec.describe 'Group AWS EKS Cluster', :js do
...
@@ -19,7 +19,7 @@ RSpec.describe 'Group AWS EKS Cluster', :js do
before
do
before
do
visit
group_clusters_path
(
group
)
visit
group_clusters_path
(
group
)
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
end
end
context
'when user creates a cluster on AWS EKS'
do
context
'when user creates a cluster on AWS EKS'
do
...
...
spec/features/groups/clusters/user_spec.rb
View file @
e6abf0aa
...
@@ -25,7 +25,7 @@ RSpec.describe 'User Cluster', :js do
...
@@ -25,7 +25,7 @@ RSpec.describe 'User Cluster', :js do
before
do
before
do
visit
group_clusters_path
(
group
)
visit
group_clusters_path
(
group
)
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
click_link
'Connect existing cluster'
click_link
'Connect existing cluster'
end
end
...
@@ -129,7 +129,7 @@ RSpec.describe 'User Cluster', :js do
...
@@ -129,7 +129,7 @@ RSpec.describe 'User Cluster', :js do
it
'user sees creation form with the successful message'
do
it
'user sees creation form with the successful message'
do
expect
(
page
).
to
have_content
(
'Kubernetes cluster integration was successfully removed.'
)
expect
(
page
).
to
have_content
(
'Kubernetes cluster integration was successfully removed.'
)
expect
(
page
).
to
have_link
(
'
Integrate with a cluster
certificate'
)
expect
(
page
).
to
have_link
(
'
Connect with a
certificate'
)
end
end
end
end
end
end
...
...
spec/features/projects/cluster_agents_spec.rb
View file @
e6abf0aa
...
@@ -24,7 +24,7 @@ RSpec.describe 'ClusterAgents', :js do
...
@@ -24,7 +24,7 @@ RSpec.describe 'ClusterAgents', :js do
it
'displays empty state'
,
:aggregate_failures
do
it
'displays empty state'
,
:aggregate_failures
do
click_link
'GitLab Agent managed clusters'
click_link
'GitLab Agent managed clusters'
expect
(
page
).
to
have_content
(
'
Integrate with the
GitLab Agent'
)
expect
(
page
).
to
have_content
(
'
Connect with a
GitLab Agent'
)
expect
(
page
).
to
have_selector
(
'.empty-state'
)
expect
(
page
).
to
have_selector
(
'.empty-state'
)
end
end
end
end
...
...
spec/features/projects/clusters/eks_spec.rb
View file @
e6abf0aa
...
@@ -19,7 +19,7 @@ RSpec.describe 'AWS EKS Cluster', :js do
...
@@ -19,7 +19,7 @@ RSpec.describe 'AWS EKS Cluster', :js do
before
do
before
do
visit
project_clusters_path
(
project
)
visit
project_clusters_path
(
project
)
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
end
end
context
'when user creates a cluster on AWS EKS'
do
context
'when user creates a cluster on AWS EKS'
do
...
...
spec/features/projects/clusters/gcp_spec.rb
View file @
e6abf0aa
...
@@ -33,7 +33,7 @@ RSpec.describe 'Gcp Cluster', :js do
...
@@ -33,7 +33,7 @@ RSpec.describe 'Gcp Cluster', :js do
before
do
before
do
visit
project_clusters_path
(
project
)
visit
project_clusters_path
(
project
)
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
click_link
'Create new cluster'
click_link
'Create new cluster'
click_link
'Google GKE'
click_link
'Google GKE'
end
end
...
@@ -162,7 +162,7 @@ RSpec.describe 'Gcp Cluster', :js do
...
@@ -162,7 +162,7 @@ RSpec.describe 'Gcp Cluster', :js do
it
'user sees creation form with the successful message'
do
it
'user sees creation form with the successful message'
do
expect
(
page
).
to
have_content
(
'Kubernetes cluster integration was successfully removed.'
)
expect
(
page
).
to
have_content
(
'Kubernetes cluster integration was successfully removed.'
)
expect
(
page
).
to
have_link
(
'
Integrate with a cluster
certificate'
)
expect
(
page
).
to
have_link
(
'
Connect with a
certificate'
)
end
end
end
end
end
end
...
@@ -178,7 +178,7 @@ RSpec.describe 'Gcp Cluster', :js do
...
@@ -178,7 +178,7 @@ RSpec.describe 'Gcp Cluster', :js do
end
end
it
'user sees offer on cluster create page'
do
it
'user sees offer on cluster create page'
do
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
expect
(
page
).
to
have_css
(
'.gcp-signup-offer'
)
expect
(
page
).
to
have_css
(
'.gcp-signup-offer'
)
end
end
...
@@ -195,7 +195,7 @@ RSpec.describe 'Gcp Cluster', :js do
...
@@ -195,7 +195,7 @@ RSpec.describe 'Gcp Cluster', :js do
find
(
'.gcp-signup-offer .js-close'
).
click
find
(
'.gcp-signup-offer .js-close'
).
click
wait_for_requests
wait_for_requests
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
expect
(
page
).
not_to
have_css
(
'.gcp-signup-offer'
)
expect
(
page
).
not_to
have_css
(
'.gcp-signup-offer'
)
end
end
...
...
spec/features/projects/clusters/user_spec.rb
View file @
e6abf0aa
...
@@ -25,7 +25,7 @@ RSpec.describe 'User Cluster', :js do
...
@@ -25,7 +25,7 @@ RSpec.describe 'User Cluster', :js do
before
do
before
do
visit
project_clusters_path
(
project
)
visit
project_clusters_path
(
project
)
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
click_link
'Connect existing cluster'
click_link
'Connect existing cluster'
end
end
...
@@ -116,7 +116,7 @@ RSpec.describe 'User Cluster', :js do
...
@@ -116,7 +116,7 @@ RSpec.describe 'User Cluster', :js do
it
'user sees creation form with the successful message'
do
it
'user sees creation form with the successful message'
do
expect
(
page
).
to
have_content
(
'Kubernetes cluster integration was successfully removed.'
)
expect
(
page
).
to
have_content
(
'Kubernetes cluster integration was successfully removed.'
)
expect
(
page
).
to
have_link
(
'
Integrate with a cluster
certificate'
)
expect
(
page
).
to
have_link
(
'
Connect with a
certificate'
)
end
end
end
end
end
end
...
...
spec/features/projects/clusters_spec.rb
View file @
e6abf0aa
...
@@ -19,7 +19,7 @@ RSpec.describe 'Clusters', :js do
...
@@ -19,7 +19,7 @@ RSpec.describe 'Clusters', :js do
end
end
it
'sees empty state'
do
it
'sees empty state'
do
expect
(
page
).
to
have_link
(
'
Integrate with a cluster
certificate'
)
expect
(
page
).
to
have_link
(
'
Connect with a
certificate'
)
expect
(
page
).
to
have_selector
(
'.empty-state'
)
expect
(
page
).
to
have_selector
(
'.empty-state'
)
end
end
end
end
...
@@ -214,7 +214,7 @@ RSpec.describe 'Clusters', :js do
...
@@ -214,7 +214,7 @@ RSpec.describe 'Clusters', :js do
before
do
before
do
visit
project_clusters_path
(
project
)
visit
project_clusters_path
(
project
)
click_link
'
Integrate with a cluster
certificate'
click_link
'
Connect with a
certificate'
click_link
'Create new cluster'
click_link
'Create new cluster'
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment