diff --git a/scripts/cypress/support/commands.js b/scripts/cypress/support/commands.js index 01b834a8a4..db8493087f 100644 --- a/scripts/cypress/support/commands.js +++ b/scripts/cypress/support/commands.js @@ -374,9 +374,8 @@ 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: 30000 }).contains(msg).should('exist'); - cy.get('.ant-message-notice-content:visible', { timout: 12000 }).should('not.exist'); + cy.get('.ant-message-notice-content:visible', { timeout: 60000 }).contains(msg).should('exist'); + cy.get('.ant-message-notice-content:visible', { timeout: 12000 }).should('not.exist'); }); // vn: view name