Organization test split into 2 parts (#2247)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
This commit is contained in:
parent
4f92ea99ed
commit
db89dddbad
|
|
@ -0,0 +1,20 @@
|
|||
/// <reference types="Cypress" />
|
||||
|
||||
describe("Create org and a new app / delete and recreate app", function() {
|
||||
let orgid;
|
||||
let appid;
|
||||
|
||||
it("create app within an org and delete and re-create another app with same name", function() {
|
||||
cy.NavigateToHome();
|
||||
cy.generateUUID().then(uid => {
|
||||
orgid = uid;
|
||||
appid = uid;
|
||||
localStorage.setItem("OrgName", orgid);
|
||||
cy.createOrg(orgid);
|
||||
cy.CreateAppForOrg(orgid, appid);
|
||||
cy.DeleteAppByApi();
|
||||
cy.NavigateToHome();
|
||||
cy.CreateAppForOrg(orgid, appid);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
/// <reference types="Cypress" />
|
||||
|
||||
describe("Create new org and an app within the same", function () {
|
||||
describe("Create new org and an app within the same", function() {
|
||||
let orgid;
|
||||
let appid;
|
||||
|
||||
it("create multiple apps and validate", function () {
|
||||
it("create multiple apps and validate", function() {
|
||||
cy.NavigateToHome();
|
||||
cy.generateUUID().then(uid => {
|
||||
orgid = uid;
|
||||
|
|
@ -12,9 +12,6 @@ describe("Create new org and an app within the same", function () {
|
|||
localStorage.setItem("OrgName", orgid);
|
||||
cy.createOrg(orgid);
|
||||
cy.CreateAppForOrg(orgid, appid);
|
||||
cy.DeleteAppByApi();
|
||||
cy.NavigateToHome();
|
||||
cy.CreateAppForOrg(orgid, appid);
|
||||
cy.NavigateToHome();
|
||||
cy.CreateApp(appid);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user