bahmutov / cypress-if

Easy conditional if-else logic for your Cypress tests when there is no other way
https://cypress.tips/courses/cypress-plugins
99 stars 12 forks source link

Error in chain cy.get().find().contains().if() #100

Closed triori closed 3 months ago

triori commented 4 months ago

cy.get().find().contains().if() returns some wierd error

Screenshot 2024-07-09 at 11 55 08

Maybe will be OK to check that res exists and not undefined, like if (res && res.length) {

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 1.12.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: