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
2b178182
Commit
2b178182
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
62b666f2
Changes
2
Show 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 @
2b178182
...
@@ -32,16 +32,12 @@ module QA
...
@@ -32,16 +32,12 @@ module QA
end
end
end
end
def
await_installed
(
application_name
,
button_text:
'Installed'
)
def
await_installed
(
application_name
)
within
(
".js-cluster-application-row-
#{
application_name
}
"
)
do
within
(
".js-cluster-application-row-
#{
application_name
}
"
)
do
page
.
has_text?
(
button_text
,
wait:
300
)
page
.
has_text?
(
/Installed|Uninstall/
,
wait:
300
)
end
end
end
end
def
await_uninstallable
(
application_name
)
await_installed
(
application_name
,
button_text:
'Uninstall'
)
end
def
ingress_ip
def
ingress_ip
# We need to wait longer since it can take some time before the
# We need to wait longer since it can take some time before the
# ip address is assigned for the ingress controller
# ip address is assigned for the ingress controller
...
...
qa/qa/resource/kubernetes_cluster.rb
View file @
2b178182
...
@@ -47,7 +47,7 @@ module QA
...
@@ -47,7 +47,7 @@ module QA
page
.
install!
(
:runner
)
if
@install_runner
page
.
install!
(
:runner
)
if
@install_runner
page
.
await_installed
(
:ingress
)
if
@install_ingress
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
page
.
await_installed
(
:runner
)
if
@install_runner
if
@install_ingress
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