fixed test??

This commit is contained in:
Erik Jan de Wit 2021-05-07 12:12:31 +02:00
parent c036253ac5
commit fc6d2e7ecf
2 changed files with 2 additions and 3 deletions

View file

@ -10,8 +10,7 @@ export default class GroupModal {
} }
fillGroupForm(name = "") { fillGroupForm(name = "") {
cy.get('[data-testid=groupNameInput]').clear(); cy.getId(this.nameInput).clear().type(name);
cy.get('[data-testid=groupNameInput]').type(name);
return this; return this;
} }

View file

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