8714-devToTest #1547
test/cypress/support
|
@ -112,7 +112,7 @@ function selectItem(selector, option, ariaControl, hasWrite = true) {
|
|||
.find((item) => item.innerText.includes(option));
|
||||
if (matchingItem) return cy.wrap(matchingItem).click();
|
||||
|
||||
if (hasWrite) cy.get(selector).clear().type(option, { delay: 0 });
|
||||
if (hasWrite) cy.get(selector).clear().type(option);
|
||||
return selectItem(selector, option, ariaControl, false);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue