Created
November 1, 2022 05:40
-
-
Save shwetaneelsharma/aa71d98701088ea7e86bd5e7aa27dada to your computer and use it in GitHub Desktop.
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
it('check a11y - login component', () => { | |
cy.log( | |
'Inject the axe-core library at runtime into the DOM of the selector under test', | |
); | |
cy.injectAxe(); | |
cy.mount(<Login />); | |
cy.checkPageA11y('[role="main"]'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment