test: refs #6695 e2e better selectOption
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
607e33e45a
commit
dbea92cb53
|
@ -148,10 +148,10 @@ Cypress.Commands.add('retryCheckItem', (ariaControl, selector, option, retries)
|
|||
.first();
|
||||
cy.wrap(itemAClickear).click(); // Haz clic en el elemento encontrado
|
||||
} else {
|
||||
throw new Error('Option not found → ', option);
|
||||
// cy.get(selector, { timeout }).clear().type(option);
|
||||
// let retries = 0;
|
||||
// cy.retrySelectOption(selector, option, timeout, retries);
|
||||
// throw new Error('Option not found → ', option);
|
||||
cy.get(selector, { timeout }).clear().type(option);
|
||||
let retries = 0;
|
||||
cy.retrySelectOption(selector, option, timeout, retries);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue