UNCLASSIFIED

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

try another thing

parent b1396df3
Pipeline #451072 failed with stages
in 3 minutes and 39 seconds
...@@ -41,14 +41,19 @@ describe('Mattermost Healthcheck', function() { ...@@ -41,14 +41,19 @@ describe('Mattermost Healthcheck', function() {
cy.title().should('include', 'Town Square - Big Bang') cy.title().should('include', 'Town Square - Big Bang')
} }
}) })
// Run through setup
cy.get("body").then($body => { cy.get("body").then($body => {
if ($body.find('button[class="SidebarNextSteps__close"]').length > 0) { if ($body.find('input[name="fullName"]').length > 0) {
cy.get('button[class="SidebarNextSteps__close"]').click() 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("body").then($body => { cy.get('span').contains("Set up notifications").click()
if ($body.find('span[class="confirm"]').length > 0) { cy.get('div[class="scrollbar--view"]').click()
cy.get('span[class="confirm"]').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.get('span').contains("Remove").click()
} }
}) })
}) })
......
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