From ec7149f9d8a4b048f4e95b8136668a460c53e6ab Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Tue, 8 Dec 2020 23:47:34 +0530 Subject: [PATCH] Test case for creating multiple apps (#1871) * Added test for #1716 Co-authored-by: nandan.anantharamu --- .../CreateDuplicateAppWithinOrg_spec.js | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/client/cypress/integration/Smoke_TestSuite/OrganisationTests/CreateDuplicateAppWithinOrg_spec.js 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); + }); + }); +});