updated existing test cases to validate the import export flow with different user permissions (#8099)
This commit is contained in:
parent
7298937e36
commit
ca4541a415
|
|
@ -78,6 +78,15 @@ describe("Export application as a JSON file", function() {
|
||||||
.first()
|
.first()
|
||||||
.click({ force: true });
|
.click({ force: true });
|
||||||
cy.get(homePage.exportAppFromMenu).should("be.visible");
|
cy.get(homePage.exportAppFromMenu).should("be.visible");
|
||||||
|
cy.get("body").click(50, 40);
|
||||||
|
cy.get(homePage.applicationCard)
|
||||||
|
.first()
|
||||||
|
.trigger("mouseover");
|
||||||
|
cy.get(homePage.appEditIcon)
|
||||||
|
.first()
|
||||||
|
.click({ force: true });
|
||||||
|
cy.get(homePage.applicationName).click({ force: true });
|
||||||
|
cy.contains("Export Application").should("be.visible");
|
||||||
});
|
});
|
||||||
cy.LogOut();
|
cy.LogOut();
|
||||||
});
|
});
|
||||||
|
|
@ -119,6 +128,15 @@ describe("Export application as a JSON file", function() {
|
||||||
.first()
|
.first()
|
||||||
.click({ force: true });
|
.click({ force: true });
|
||||||
cy.get(homePage.exportAppFromMenu).should("not.exist");
|
cy.get(homePage.exportAppFromMenu).should("not.exist");
|
||||||
|
cy.get("body").click(50, 40);
|
||||||
|
cy.get(homePage.applicationCard)
|
||||||
|
.first()
|
||||||
|
.trigger("mouseover");
|
||||||
|
cy.get(homePage.appEditIcon)
|
||||||
|
.first()
|
||||||
|
.click({ force: true });
|
||||||
|
cy.get(homePage.applicationName).click({ force: true });
|
||||||
|
cy.contains("Export Application").should("not.exist");
|
||||||
});
|
});
|
||||||
cy.LogOut();
|
cy.LogOut();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user