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

Getting ERROR: Could not resolve "cypress-plugin-snapshots/commands" when running in Cypress 10 #23272

Closed
faith-berroya opened this issue Aug 11, 2022 · 1 comment

Comments

@faith-berroya
Copy link

Current behavior

I am getting this error when I am trying to run any of my specs file. It was working before. Am I missing a step here? How do I mark the path as external?

I removed parts of images that contain sensitive information.

image

e2e.js

require('cypress-plugin-tab')
import './commands'

const dayjs = require('dayjs')
Cypress.dayjs = dayjs

import 'cypress-plugin-snapshots/commands'; 

Desired behavior

No response

Test code to reproduce

Code was working until upgraded to Cypress 10. Last tested working in Cypress 9.6.0.

Cypress Version

10.4.0

Other

No response

@nagash77
Copy link
Contributor

@faith-berroya this seems to be related to a 3rd party plugin. this issue explains the problem and indicates it is unfortunately not supported in Cypress >10 at this time.

I suggest you open an issue with that project. Here is a link to their repo in github

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

No branches or pull requests

2 participants