I am unable to build condition on which the test to be successful if page results are "No matching records found" OR "No data available". Is there an "OR" operator in Cypress? (none in the documentation)
I have tried to use nodejs to do the logic, but cypress throw error on the first condition.
if (cy.get('.v-table__overflow > table > tbody > tr > td').contains('No matching records found') || cy.get('.v-table__overflow > table > tbody > tr > td').contains('No data available')) {
cy.log('Record does not exist as Expected!');
} else {
cy.pause();
}
