This commit is contained in:
@@ -32,7 +32,7 @@ Cypress.Commands.add("chooseVSelect", (dataCyTag, selectionText) => {
|
||||
});
|
||||
|
||||
Cypress.Commands.add("choosePickList", (dataCyTag, selectionText) => {
|
||||
cy.get(`[data-cy='${dataCyTag}']`).click({ force: true }).type('xyz');
|
||||
cy.get(`[data-cy='${dataCyTag}']`).click({ force: true }).type(selectionText);
|
||||
|
||||
cy.get(".v-list-item__title")
|
||||
.contains(new RegExp("^" + selectionText + "$", "g"))
|
||||
|
||||
Reference in New Issue
Block a user