use alternate click than helpid
This commit is contained in:
parent
12d3661383
commit
9b607a3021
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ export default class CreateProviderPage {
|
|||
}
|
||||
|
||||
clickCreateDropdown() {
|
||||
cy.getId(this.addProviderDropdown, { timeout: 10000 }).click();
|
||||
cy.contains('Add provider').click();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue