UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
sonarqube
Commits
2d2eaa57
Commit
2d2eaa57
authored
Sep 07, 2021
by
Branden Cobb
Browse files
cypress
parent
0d5df4c3
Pipeline
#465187
failed with stages
in 3 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
chart/tests/cypress/sonarqube-health.spec.js
chart/tests/cypress/sonarqube-health.spec.js
+11
-5
No files found.
chart/tests/cypress/sonarqube-health.spec.js
View file @
2d2eaa57
...
@@ -6,11 +6,17 @@ describe('Basic Sonarqube', function() {
...
@@ -6,11 +6,17 @@ describe('Basic Sonarqube', function() {
cy
.
get
(
'
input[name="password"]
'
).
type
(
Cypress
.
env
(
'
password
'
))
cy
.
get
(
'
input[name="password"]
'
).
type
(
Cypress
.
env
(
'
password
'
))
cy
.
contains
(
"
Log in
"
).
click
()
cy
.
contains
(
"
Log in
"
).
click
()
cy
.
contains
(
'
Update your password
'
)
cy
.
contains
(
'
Update your password
'
)
cy
.
get
(
'
input[name="old_password"]
'
).
type
(
Cypress
.
env
(
'
password
'
))
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
cy
.
get
(
'
input[name="password"]
'
).
type
(
Cypress
.
env
(
'
newpassword
'
))
if
(
$body
.
find
(
'
button[id="change-password"]
'
).
length
>
0
)
{
cy
.
get
(
'
input[name="password_confirmation"]
'
).
type
(
Cypress
.
env
(
'
newpassword
'
))
cy
.
get
(
'
input[name="old_password"]
'
).
type
(
Cypress
.
env
(
'
password
'
))
cy
.
get
(
'
button[id="change-password"]
'
).
click
()
cy
.
get
(
'
input[name="password"]
'
).
type
(
Cypress
.
env
(
'
newpassword
'
))
//cy.contains("I understand the risk").click()
cy
.
get
(
'
input[name="password_confirmation"]
'
).
type
(
Cypress
.
env
(
'
newpassword
'
))
cy
.
get
(
'
button[id="change-password"]
'
).
click
()
cy
.
title
().
should
(
'
include
'
,
'
How do you want to create your project?
'
)
}
else
{
cy
.
title
().
should
(
'
include
'
,
'
How do you want to create your project?
'
)
}
})
cy
.
scrollTo
(
'
topRight
'
)
cy
.
scrollTo
(
'
topRight
'
)
cy
.
get
(
'
a[class="dropdown-toggle navbar-avatar"]
'
).
click
()
cy
.
get
(
'
a[class="dropdown-toggle navbar-avatar"]
'
).
click
()
cy
.
contains
(
"
My Account
"
).
click
()
cy
.
contains
(
"
My Account
"
).
click
()
...
...
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