This commit is contained in:
@@ -35,7 +35,7 @@ Cypress.Commands.add("choosePickList", (dataCyTag, selectionText) => {
|
||||
cy.get(`[data-cy='${dataCyTag}']`).click({ force: true }).type(selectionText);
|
||||
|
||||
cy.get(".v-list-item__title")
|
||||
.contains(selectionText)
|
||||
//.contains(new RegExp("^" + selectionText + "$", "g"))
|
||||
//.contains(selectionText)
|
||||
.contains(new RegExp("^" + selectionText + "$", "g"))
|
||||
.click({ force: true });
|
||||
});
|
||||
|
||||
@@ -57,6 +57,7 @@ function confirmJobDone(jobId, authToken) {
|
||||
//3 means job done
|
||||
if (resp.body.data == 3) return;
|
||||
// else recurse
|
||||
cy.wait(1000);
|
||||
confirmJobDone(jobId, authToken);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user