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
8ac70b14
Commit
8ac70b14
authored
Aug 30, 2021
by
Micah Nagel
💰
Browse files
try this?
parent
1748ad45
Pipeline
#451289
failed with stages
in 4 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
26 deletions
+3
-26
chart/tests/cypress/mattermost-health.spec.js
chart/tests/cypress/mattermost-health.spec.js
+3
-26
No files found.
chart/tests/cypress/mattermost-health.spec.js
View file @
8ac70b14
...
...
@@ -41,35 +41,12 @@ describe('Mattermost Healthcheck', function() {
cy
.
title
().
should
(
'
include
'
,
'
Town Square - Big Bang
'
)
}
})
// Add a wait because the UI is slow to pop up sometimes
cy
.
wait
(
1000
)
// Run through setup tasks if they are displayed
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
if
(
$body
.
find
(
'
input[name="fullName"]
'
).
length
>
0
)
{
cy
.
get
(
'
input[name="fullName"]
'
).
type
(
"
Big Bang Bot
"
)
cy
.
get
(
'
button[data-testid="CompleteProfileStep__saveProfileButton"]
'
).
click
()
cy
.
get
(
'
button[data-testid="TeamProfileStep__saveTeamButton"]
'
).
click
()
cy
.
get
(
'
span
'
).
contains
(
"
Skip this step
"
).
click
()
cy
.
get
(
'
button[data-testid="InviteMembersStep__finishButton"]
'
).
click
()
cy
.
get
(
'
input[id="input_enter_support_email"]
'
).
type
(
"
help@bigbang.dev
"
)
cy
.
get
(
'
button[data-testid="EnterSupportEmailStep__finishButton"]
'
).
click
()
cy
.
get
(
'
span[id="closeIcon"]
'
).
click
()
cy
.
wait
(
500
)
cy
.
get
(
'
span
'
).
contains
(
"
Remove
"
).
click
()
}
})
})
it
(
'
should allow chatting
'
,
function
()
{
// Wait 1 second, then check for any tutorial pages
cy
.
wait
(
1000
)
cy
.
get
(
"
body
"
).
then
(
$body
=>
{
if
(
$body
.
find
(
'
span[id="closeIcon"]
'
).
length
>
0
)
{
cy
.
get
(
'
span[id="closeIcon"]
'
).
click
()
cy
.
wait
(
500
)
cy
.
get
(
'
span
'
).
contains
(
"
Remove
"
).
click
()
}
})
// 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
);
cy
.
get
(
'
textarea[id="post_textbox"]
'
).
type
(
randomChat
).
type
(
'
{enter}
'
)
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