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

package is not working with cypress latest version 9.0.0 #95

Closed
ponomvit opened this issue Nov 19, 2021 · 2 comments · Fixed by #102
Closed

package is not working with cypress latest version 9.0.0 #95

ponomvit opened this issue Nov 19, 2021 · 2 comments · Fixed by #102

Comments

@ponomvit
Copy link

The following error originated from your test code, not from Cypress.

Cypress.Commands.add() is used to create new commands, but debug is an existing Cypress command.

Please use Cypress.Commands.overwrite() if you would like to overwrite an existing command.

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.

https://on.cypress.io/custom-commands
@kshammout
Copy link

kshammout commented Dec 1, 2021

any update on this ?
https://github.com/reportportal/agent-js-cypress/blob/master/lib/commands/reportPortalCommands.js#L45 to be replaced with
Cypress.Commands.overwrite

@AmsterGet AmsterGet linked a pull request Jan 21, 2022 that will close this issue
@AmsterGet
Copy link
Member

Fixed in 5.0.3.

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 a pull request may close this issue.

3 participants