Browse Source

test(cypress): verify updated row entries after delay

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/805/head
Raju Udava 3 years ago
parent
commit
406ebe1148
  1. 7
      scripts/cypress/integration/common/1c_table_row_operations.js

7
scripts/cypress/integration/common/1c_table_row_operations.js

@ -36,9 +36,10 @@ export const genTest = (type, xcdb) => {
cy.get('#data-table-form-Title > input').first().clear().type(updatedRandVal); cy.get('#data-table-form-Title > input').first().clear().type(updatedRandVal);
cy.contains('Save Row').filter('button').click({force: true}) cy.contains('Save Row').filter('button').click({force: true})
cy.wait(3000) cy.wait(3000).then(() => {
cy.get('td').contains(randVal).should('not.exist'); cy.get('td').contains(randVal).should('not.exist');
cy.get('td').contains(updatedRandVal).should('exist'); cy.get('td').contains(updatedRandVal).should('exist');
})
}) })
it('Delete row', () => { it('Delete row', () => {

Loading…
Cancel
Save