Test case for creating multiple apps (#1871)
* Added test for #1716 Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
This commit is contained in:
parent
8283396056
commit
ec7149f9d8
|
|
@ -0,0 +1,21 @@
|
||||||
|
/// <reference types="Cypress" />
|
||||||
|
|
||||||
|
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);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue
Block a user