|
|
|
@ -378,14 +378,9 @@ Cypress.Commands.add("createColumn", (table, columnName) => {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
Cypress.Commands.add("toastWait", (msg) => { |
|
|
|
|
cy.get('.ant-message-notice-content:visible', { timout: 30000 }).should('exist') |
|
|
|
|
cy.get('.ant-message-notice-content:visible', { timout: 12000 }).contains(msg).should('exist') |
|
|
|
|
cy.get('.ant-message-notice-content:visible', { timout: 12000 }).should('not.exist') |
|
|
|
|
|
|
|
|
|
// cy.get(".toasted:visible", { timout: 12000 }).contains(msg).should("exist");
|
|
|
|
|
// cy.get(".toasted:visible", { timout: 12000 })
|
|
|
|
|
// .contains(msg)
|
|
|
|
|
// .should("not.exist");
|
|
|
|
|
// cy.wait(3000);
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// vn: view name
|
|
|
|
|