cypress assert that one of an array of attributes should contain code example
Example: cypress check element have attribute
// have.attr comes from chai-jquery
cy.get('#header a').should('have.attr', 'href', '/users')
// have.attr comes from chai-jquery
cy.get('#header a').should('have.attr', 'href', '/users')