Smoke Build Test Changes
Changes have been made to the following test files to remove smoke build failures: - addRadioButtons.spec.js - accountPortals.spec.js - userManagement.spec.js - userSettings.spec.js
This commit is contained in:
parent
7b11c9e357
commit
8e24b85b24
|
@ -36,5 +36,9 @@ filterTests(['all'], () => {
|
||||||
})
|
})
|
||||||
cy.addCustomSourceOptions(totalRadioButtons)
|
cy.addCustomSourceOptions(totalRadioButtons)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
after(() => {
|
||||||
|
cy.deleteAllApps()
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -9,10 +9,11 @@ filterTests(["smoke", "all"], () => {
|
||||||
before(() => {
|
before(() => {
|
||||||
cy.login()
|
cy.login()
|
||||||
cy.deleteApp("Cypress Tests")
|
cy.deleteApp("Cypress Tests")
|
||||||
cy.createApp("Cypress Tests")
|
cy.createApp("Cypress Tests", false)
|
||||||
|
|
||||||
// Create new user
|
// Create new user
|
||||||
cy.visit(`${Cypress.config().baseUrl}/builder`, { timeout: 1000})
|
cy.wait(500)
|
||||||
|
cy.visit(`${Cypress.config().baseUrl}/builder`, { timeout: 5000})
|
||||||
cy.createUser(bbUserEmail)
|
cy.createUser(bbUserEmail)
|
||||||
cy.contains("bbuser").click()
|
cy.contains("bbuser").click()
|
||||||
cy.wait(500)
|
cy.wait(500)
|
||||||
|
|
|
@ -10,7 +10,7 @@ filterTests(["smoke", "all"], () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it("should create a user via basic onboarding", () => {
|
it("should create a user via basic onboarding", () => {
|
||||||
cy.visit(`${Cypress.config().baseUrl}/builder`, { timeout: 1000})
|
cy.visit(`${Cypress.config().baseUrl}/builder`, { timeout: 5000})
|
||||||
cy.createUser("bbuser@test.com")
|
cy.createUser("bbuser@test.com")
|
||||||
cy.get(interact.SPECTRUM_TABLE).should("contain", "bbuser")
|
cy.get(interact.SPECTRUM_TABLE).should("contain", "bbuser")
|
||||||
})
|
})
|
||||||
|
|
|
@ -103,6 +103,8 @@ filterTests(["smoke", "all"], () => {
|
||||||
}
|
}
|
||||||
cy.get("button").contains("Update password").click({ force: true })
|
cy.get("button").contains("Update password").click({ force: true })
|
||||||
})
|
})
|
||||||
|
// Remove users name
|
||||||
|
cy.updateUserInformation()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue