-
Notifications
You must be signed in to change notification settings - Fork 22
Troubleshooting
A common issue we have ran into are issues with an existing babel config in a project folder. This may present itself in different ways but a common scenario is issues with the package core-js
. There is an open issue for this documented on the Cypress repo https://github.com/cypress-io/cypress/issues/2945.
A quick fix until Cypress look into this is to provide an empty babel config in babel.config.js
when the cypress process is running:
module.exports = process.env.CYPRESS_INTERNAL_ENV
? {}
: {
presets,
plugins,
};
You need to enable file sharing to allow local directories on the Mac to be shared with Linux containers. See more https://docs.docker.com/docker-for-mac/#file-sharing
If you are using a plugin that uses the cypress pre processor, you will not be able to specify multiple versions of WordPress to run tests against. We are working on a fix for this but until then the workaround is to stick to a single WordPress version.