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
5fbb14e6
Commit
5fbb14e6
authored
Aug 30, 2021
by
Micah Nagel
💰
Browse files
why does this work?
parent
81175ccd
Pipeline
#451382
passed with stages
in 4 minutes and 33 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
chart/tests/cypress/mattermost-health.spec.js
chart/tests/cypress/mattermost-health.spec.js
+8
-8
No files found.
chart/tests/cypress/mattermost-health.spec.js
View file @
5fbb14e6
...
@@ -41,19 +41,19 @@ describe('Mattermost Healthcheck', function() {
...
@@ -41,19 +41,19 @@ describe('Mattermost Healthcheck', function() {
cy
.
title
().
should
(
'
include
'
,
'
Town Square - Big Bang
'
)
cy
.
title
().
should
(
'
include
'
,
'
Town Square - Big Bang
'
)
}
}
})
})
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
if
(
$body
.
find
(
'
button[class="SidebarNextSteps__close"]
'
).
length
>
0
)
{
cy
.
get
(
'
button[class="SidebarNextSteps__close"]
'
).
click
()
cy
.
get
(
'
button[type="submit"] > span
'
).
contains
(
"
Remove
"
).
click
()
}
})
})
})
it
(
'
should allow chatting
'
,
function
()
{
it
(
'
should allow chatting
'
,
function
()
{
// Click between channels to dodge the tutorial if it exists
cy
.
get
(
'
span[class="SidebarChannelLinkLabel"]
'
).
contains
(
"
Off-Topic
"
).
click
()
cy
.
get
(
'
span[class="SidebarChannelLinkLabel"]
'
).
contains
(
"
Town Square
"
).
click
()
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
)
cy
.
get
(
'
textarea[id="post_textbox"]
'
).
type
(
randomChat
).
type
(
'
{enter}
'
)
cy
.
get
(
'
textarea[id="post_textbox"]
'
).
type
(
'
{enter}
'
)
cy
.
reload
()
cy
.
reload
()
// Click between channels to dodge the tutorial if it exists
cy
.
get
(
'
span[class="SidebarChannelLinkLabel"]
'
).
contains
(
"
Off-Topic
"
).
click
()
cy
.
get
(
'
span[class="SidebarChannelLinkLabel"]
'
).
contains
(
"
Town Square
"
).
click
()
cy
.
get
(
'
p
'
).
contains
(
randomChat
).
should
(
'
be.visible
'
)
cy
.
get
(
'
p
'
).
contains
(
randomChat
).
should
(
'
be.visible
'
)
})
})
...
...
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