use alternate click than helpid

This commit is contained in:
mfrances 2021-05-07 16:43:10 -04:00
parent 12d3661383
commit 9b607a3021
2 changed files with 4 additions and 1 deletions

View file

@ -60,6 +60,7 @@ describe("Identity provider test", () => {
.fill("facebook", "123")
.clickAdd();
cy.wait(2000);
sidebarPage.goToIdentityProviders();
listingPage.itemExist("facebook");
@ -69,6 +70,7 @@ describe("Identity provider test", () => {
.fill(identityProviderName, "123")
.clickAdd();
cy.wait(2000);
sidebarPage.goToIdentityProviders();
listingPage.itemExist(identityProviderName);
@ -78,6 +80,7 @@ describe("Identity provider test", () => {
.fill("bitbucket", "123")
.clickAdd();
cy.wait(2000);
sidebarPage.goToIdentityProviders();
listingPage.itemExist(identityProviderName);

View file

@ -45,7 +45,7 @@ export default class CreateProviderPage {
}
clickCreateDropdown() {
cy.getId(this.addProviderDropdown, { timeout: 10000 }).click();
cy.contains('Add provider').click();
return this;
}