From fee9429eaf6a2872aecde2955ae23a747911b291 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 2 Sep 2022 15:19:24 +0530 Subject: [PATCH] test: wait longer for toast message to appear Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- scripts/cypress-v2/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cypress-v2/support/commands.js b/scripts/cypress-v2/support/commands.js index 423d830f45..f82f510162 100644 --- a/scripts/cypress-v2/support/commands.js +++ b/scripts/cypress-v2/support/commands.js @@ -379,7 +379,7 @@ 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: 30000 }).contains(msg).should('exist') cy.get('.ant-message-notice-content:visible', { timout: 12000 }).should('not.exist') });