IO-2327 posting bills test cases

This commit is contained in:
swtmply
2023-08-11 20:08:43 +08:00
parent 7b8691935d
commit 413af6eb7c
3 changed files with 45 additions and 14 deletions

View File

@@ -74,15 +74,6 @@ Cypress.Commands.add("antdSelect", (selector, filter) => {
});
});
Cypress.Commands.add("antdFormSelect", (name, text, cb) => {
cy.get(".ant-form-item-required").then(($field) => {
if ($field.text().includes(text)) {
if (name) cy.antdSelect(name);
cb?.();
}
});
});
Cypress.Commands.add(
"insertAvailableJob",
({ bodyshopid, job, job_est_data, token }) => {