UNCLASSIFIED

Commit beb3042f authored by Micah Nagel's avatar Micah Nagel 💰
Browse files

try this

parent eb54c37a
Pipeline #451216 failed with stages
in 4 minutes and 25 seconds
...@@ -54,20 +54,13 @@ describe('Mattermost Healthcheck', function() { ...@@ -54,20 +54,13 @@ describe('Mattermost Healthcheck', function() {
cy.get('input[id="input_enter_support_email"]').type("help@bigbang.dev") cy.get('input[id="input_enter_support_email"]').type("help@bigbang.dev")
cy.get('button[data-testid="EnterSupportEmailStep__finishButton"]').click() cy.get('button[data-testid="EnterSupportEmailStep__finishButton"]').click()
cy.get('span[id="closeIcon"]').click() cy.get('span[id="closeIcon"]').click()
cy.wait(500)
cy.get('span').contains("Remove").click() cy.get('span').contains("Remove").click()
} }
}) })
}) })
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.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