Open kmanaseryan opened 3 years ago
By this file path /var/folders/lp/m1rj3k112s1bvqgxsy9ysm840000gp/T/ckan-uat-TBzyzH/support/index.js/index.js
I would say it might be a bug in creating the supportFile
path — wouldn't it make sense to be /var/folders/lp/m1rj3k112s1bvqgxsy9ysm840000gp/T/ckan-uat-TBzyzH/support/index.js
instead?
Maybe we can review the code that handles this to check whether the functions and methods have changed behavior in recent versions:
It's really unexpected, for me, to have const file = path.join(tmp, "support", "index.js");
resulting in whatever/index.js/index.js
…
@cuducos great catch! I also noticed that and it's really weird. On line 52 if I change "index.js"
to lets say "index1.js"
then output in the error will be: watever/index1.js/index1.js
I think this might be OS level issue, as @cotts tried at his end he didn't have this error.
I use Mac OS, version 11.0.1
I think this might be OS level issue
Makes sense. As far as I can remember, @cotts and I are running on Linux, so if you're on macOS, there is a chance that this behavior is OS-related…
Following the instruction in the docs to can't run the specs.
When I run
node test.js
I get the following error:I have Cypress installed and setup with it's default folder structure.
package.json
cypress.json
Environment
Cypress:
4.9.0
Node:v14.15.1
OS: Mac11.0.1
Tried also with Cypress v6.0.0 but didn't work.