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:
NandanAnantharamu 2020-12-08 23:47:34 +05:30 committed by GitHub
parent 8283396056
commit ec7149f9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
});
});
});