diff --git a/app/client/cypress/integration/Smoke_TestSuite/OrganisationTests/CreateDuplicateAppWithinOrg_spec.js b/app/client/cypress/integration/Smoke_TestSuite/OrganisationTests/CreateDuplicateAppWithinOrg_spec.js new file mode 100644 index 0000000000..1fe8654c91 --- /dev/null +++ b/app/client/cypress/integration/Smoke_TestSuite/OrganisationTests/CreateDuplicateAppWithinOrg_spec.js @@ -0,0 +1,21 @@ +/// + +const homePage = require("../../../locators/HomePage.json"); + +describe("Create new org and an app within the same", function() { + let orgid; + let appid; + + it("create multiple apps and validate", function() { + cy.NavigateToHome(); + cy.generateUUID().then(uid => { + orgid = uid; + appid = uid; + localStorage.setItem("OrgName", orgid); + cy.createOrg(orgid); + cy.CreateAppForOrg(orgid, appid); + cy.NavigateToHome(); + cy.CreateApp(appid); + }); + }); +});