I want to test the search filter in screen. When I enter the word in the search bar, I want to see that it words that only contains entered. I can not find a function that provide in Cypress
You could easily use the not.contain option. Syntax would be like this:
cy.get('element').should('not.contain', 'value_it_should_not_contain')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With