Fixing the organization share Cypress test cases (#2993)

This commit is contained in:
Arpit Mohan 2021-02-11 23:50:49 +05:30 committed by GitHub
parent ac23629647
commit 01ca53899e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -30,7 +30,9 @@ describe("Create new org and share with a user", function() {
cy.get(homePage.searchInput).type(appid);
cy.wait(2000);
cy.get(homePage.appsContainer).contains(orgid);
cy.xpath(homePage.ShareBtn).should("not.exist");
cy.xpath(homePage.ShareBtn)
.first()
.should("be.visible");
cy.get(homePage.applicationCard)
.first()
.trigger("mouseover");

View File

@ -33,7 +33,9 @@ describe("Create new org and share with a user", function() {
cy.get(homePage.searchInput).type(appid);
cy.wait(2000);
cy.get(homePage.appsContainer).contains(orgid);
cy.xpath(homePage.ShareBtn).should("not.exist");
cy.xpath(homePage.ShareBtn)
.first()
.should("be.visible");
cy.get(homePage.applicationCard).trigger("mouseover");
cy.get(homePage.appEditIcon).should("not.exist");
cy.launchApp(appid);