https://cypress.io logo
Hello! I need some help. My app have some feature....
# e2e-testing
b
Hello! I need some help. My app have some feature. This feature works if an element have attribute A or B. There is no methods to test this feature else to check existence A or B attribute (exist, but very difficult, flaky and PM says that attr check will be enough). Is exist method like: cy.get('#element').should('have.arrt', A or B) Regex is doesn't works.