Update createUserAndRoles.spec.js

Updating the before hook to delete the test app before trying to create a new one
This commit is contained in:
Mitch-Budibase 2022-05-17 13:32:29 +01:00
parent 40b44035ea
commit a4f3a90628
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ filterTests(["smoke", "all"], () => {
context("Create a User and Assign Roles", () => {
before(() => {
cy.login()
cy.deleteApp("Cypress Tests")
cy.createApp("Cypress Tests")
})