Browse Source

test: typo correction for toast timeout

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3691/head
Raju Udava 2 years ago
parent
commit
9cca739580
  1. 5
      scripts/cypress/support/commands.js

5
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

Loading…
Cancel
Save