diff --git a/chart/tests/cypress/mattermost-health.spec.js b/chart/tests/cypress/mattermost-health.spec.js index 86d749401fc8d0ffb8d848e3ef758573960aac52..fa16c6b1d17be677a91dfbeb3c2cb6b6e28e760f 100644 --- a/chart/tests/cypress/mattermost-health.spec.js +++ b/chart/tests/cypress/mattermost-health.spec.js @@ -48,7 +48,8 @@ describe('Mattermost Healthcheck', function() { 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.get('textarea[id="post_textbox"]').type(randomChat) + cy.get('textarea[id="post_textbox"]').type('{enter}') cy.reload() // Click between channels to dodge the tutorial if it exists cy.get('span[class="SidebarChannelLinkLabel"]').contains("Off-Topic").click()