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
Collaboration Tools
mattermost
Commits
b1396df3
Commit
b1396df3
authored
Aug 30, 2021
by
Micah Nagel
💰
Browse files
update?
parent
94c4d768
Pipeline
#451048
failed with stages
in 4 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
chart/tests/cypress/mattermost-health.spec.js
chart/tests/cypress/mattermost-health.spec.js
+7
-13
No files found.
chart/tests/cypress/mattermost-health.spec.js
View file @
b1396df3
...
@@ -41,25 +41,19 @@ describe('Mattermost Healthcheck', function() {
...
@@ -41,25 +41,19 @@ describe('Mattermost Healthcheck', function() {
cy
.
title
().
should
(
'
include
'
,
'
Town Square - Big Bang
'
)
cy
.
title
().
should
(
'
include
'
,
'
Town Square - Big Bang
'
)
}
}
})
})
})
it
(
'
should allow chatting
'
,
function
()
{
cy
.
wait
(
500
)
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
if
(
$body
.
find
(
'
button[class="NextStepsView__button"]
'
).
length
>
0
)
{
cy
.
get
(
'
button[class="NextStepsView__button"]
'
).
click
()
}
})
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
if
(
$body
.
find
(
'
spa
n[class="close
Icon
"]
'
).
length
>
0
)
{
if
(
$body
.
find
(
'
butto
n[class="
SidebarNextSteps__
close"]
'
).
length
>
0
)
{
cy
.
get
(
'
spa
n[class="close
Icon
"]
'
).
click
()
cy
.
get
(
'
butto
n[class="
SidebarNextSteps__
close"]
'
).
click
()
}
}
})
})
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
if
(
$body
.
find
(
'
butto
n[class="confirm"]
'
).
length
>
0
)
{
if
(
$body
.
find
(
'
spa
n[class="confirm"]
'
).
length
>
0
)
{
cy
.
get
(
'
butto
n[class="confirm"]
'
).
click
()
cy
.
get
(
'
spa
n[class="confirm"]
'
).
click
()
}
}
})
})
})
it
(
'
should allow chatting
'
,
function
()
{
let
randomChat
=
"
Hello
"
+
Math
.
random
().
toString
(
36
).
substring
(
8
);
let
randomChat
=
"
Hello
"
+
Math
.
random
().
toString
(
36
).
substring
(
8
);
cy
.
get
(
'
textarea[id="post_textbox"]
'
).
type
(
randomChat
).
type
(
'
{enter}
'
)
cy
.
get
(
'
textarea[id="post_textbox"]
'
).
type
(
randomChat
).
type
(
'
{enter}
'
)
cy
.
reload
()
cy
.
reload
()
...
...
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