UNCLASSIFIED

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

add this

parent 0d24ae24
Pipeline #451196 failed with stages
in 3 minutes and 35 seconds
...@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ...@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [0.2.0-bb.0] - 2021-08-27 ## [0.2.0-bb.0] - 2021-08-27
### Changed ### Changed
- Updated to latest IB 5.38.2 - Updated to latest IB 5.38.2
- Modified tests to remove buggy "site name" test and accomodate the new "tutorial" setup
## [0.1.8-bb.0] - 2021-08-19 ## [0.1.8-bb.0] - 2021-08-19
### Fix ### Fix
......
...@@ -43,7 +43,7 @@ describe('Mattermost Healthcheck', function() { ...@@ -43,7 +43,7 @@ describe('Mattermost Healthcheck', function() {
}) })
// Add a wait because the UI is slow to pop up sometimes // Add a wait because the UI is slow to pop up sometimes
cy.wait(1000) cy.wait(1000)
// Run through setup // Run through setup tasks if they are displayed
cy.get("body").then($body => { cy.get("body").then($body => {
if ($body.find('input[name="fullName"]').length > 0) { if ($body.find('input[name="fullName"]').length > 0) {
cy.get('input[name="fullName"]').type("Big Bang Bot") cy.get('input[name="fullName"]').type("Big Bang Bot")
...@@ -60,6 +60,14 @@ describe('Mattermost Healthcheck', function() { ...@@ -60,6 +60,14 @@ 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.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