Skip to content
New issue

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

Adding an existing command or reserved internal function with Cypress.Commands.add() will throw an error #4178

Closed
wants to merge 2 commits into from

Conversation

davidmunechika
Copy link
Contributor

Link to issue: cypress-io/cypress#18572
Link to PR: cypress-io/cypress#18587

Added a warning alert in Custom Commands doc to note that an error will be thrown if attempting to add an existing built-in Cypress command.

@davidmunechika davidmunechika changed the title Adding an existing command with Cypress.Commands.add() will throw an error Adding an existing command or reserved internal function with Cypress.Commands.add() will throw an error Nov 16, 2021
@davidmunechika davidmunechika changed the title Adding an existing command or reserved internal function with Cypress.Commands.add() will throw an error Adding an existing command or reserved internal function with Cypress.Commands.add() will throw an error Nov 16, 2021
@jaffrepaul
Copy link
Member

The Cypress Docs site and architecture has changed since this PR. This will be reimplemented here.

@jaffrepaul jaffrepaul closed this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants