In createConfig.js, WP-Cypress could not find the cypress/package.json since the path was a relative one. This PR fixes it by turning it into an absolute path which means that the cypress version can be properly extracted.
Change Log
Fixed an issue where WP-Cypress could not find cypress/package.json which means that it wasn't getting the cypress version.
Types of changes (if applicable):
[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
Description
In
createConfig.js
, WP-Cypress could not find thecypress/package.json
since the path was a relative one. This PR fixes it by turning it into an absolute path which means that the cypress version can be properly extracted.Change Log
cypress/package.json
which means that it wasn't getting the cypress version.Types of changes (if applicable):
Checklist (if applicable):