I have a form in which a user is allowed to enter the date range and the output will have results form that particular date alone.
I am able to input the date to the form using .type() function. However, I am not sure how to check if the results are within the range specified.
For example, if the typed date is ('17/03/2019') I should be able to check if the results in the table are within the range using a code like this,
cy.get('.table')
.should('not.contain','18/03/2019') // This is wrong
I want to compare and see if the results produced are only between 17/03/2019 00:00:00 and 17/03/2019 11:59:59.
Is this feature available in Cypress? Can somebody help, please?
Thanks, Indhu.