We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding documentation all I need to add custom command is to put it in cypress/support/commands.js so I added example custom command in command.js
cypress/support/commands.js
command.js
Cypress.Commands.add("alert", () => { alert("! test alert !") })
but function is not available using cy.alert() - why?
cy.alert()
My index.js is:
index.js
import './commands'
Cypress v3.2.0
OS: macOS
The text was updated successfully, but these errors were encountered:
Hey @Tazovsky, any info on how you resolved your issue is appreciated since someone else may run into the same.
Sorry, something went wrong.
No branches or pull requests
Current behavior:
Regarding documentation all I need to add custom command is to put it in
cypress/support/commands.js
so I added example custom command incommand.js
but function is not available using
cy.alert()
- why?My
index.js
is:Versions
Cypress v3.2.0
OS: macOS
The text was updated successfully, but these errors were encountered: