Created
February 1, 2019 10:06
-
-
Save jaetask/cfccaaf65575e7a7ea284f807831f25b to your computer and use it in GitHub Desktop.
[Cypress match text / tag name case insensitively] #cypress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cy.get('[data-testid=grid-children]') | |
.should('have.prop', 'tagName') | |
.should('match', /div/i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment