UNCLASSIFIED

Commit 1748ad45 authored by Micah Nagel's avatar Micah Nagel 💰
Browse files

try again

parent beb3042f
Pipeline #451237 failed with stages
in 4 minutes and 45 seconds
...@@ -61,6 +61,15 @@ describe('Mattermost Healthcheck', function() { ...@@ -61,6 +61,15 @@ describe('Mattermost Healthcheck', function() {
}) })
it('should allow chatting', function() { 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()
}
})
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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment