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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
fe2b60c0
Commit
fe2b60c0
authored
Jul 16, 2019
by
Peter Leitzen
Committed by
Ramya Authappan
Jul 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for "Uninstall" button reducing friction
parent
fe8d5c0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
qa/qa/page/project/operations/kubernetes/show.rb
qa/qa/page/project/operations/kubernetes/show.rb
+2
-6
qa/qa/resource/kubernetes_cluster.rb
qa/qa/resource/kubernetes_cluster.rb
+1
-1
No files found.
qa/qa/page/project/operations/kubernetes/show.rb
View file @
fe2b60c0
...
...
@@ -28,16 +28,12 @@ module QA
end
end
def
await_installed
(
application_name
,
button_text:
'Installed'
)
def
await_installed
(
application_name
)
within
(
".js-cluster-application-row-
#{
application_name
}
"
)
do
page
.
has_text?
(
button_text
,
wait:
300
)
page
.
has_text?
(
/Installed|Uninstall/
,
wait:
300
)
end
end
def
await_uninstallable
(
application_name
)
await_installed
(
application_name
,
button_text:
'Uninstall'
)
end
def
ingress_ip
# We need to wait longer since it can take some time before the
# ip address is assigned for the ingress controller
...
...
qa/qa/resource/kubernetes_cluster.rb
View file @
fe2b60c0
...
...
@@ -47,7 +47,7 @@ module QA
page
.
install!
(
:runner
)
if
@install_runner
page
.
await_installed
(
:ingress
)
if
@install_ingress
page
.
await_
uninstallable
(
:prometheus
)
if
@install_prometheus
page
.
await_
installed
(
:prometheus
)
if
@install_prometheus
page
.
await_installed
(
:runner
)
if
@install_runner
if
@install_ingress
...
...
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