mbolotov / intellij-cypress

IntelliJ-Cypress plugin: https://plugins.jetbrains.com/plugin/13819-intellij-cypress Pro version: https://plugins.jetbrains.com/plugin/13987-cypress-support-pro
MIT License
35 stars 5 forks source link

Running tests using 'All in Directory' only runs the first file #66

Closed khumps closed 2 years ago

khumps commented 2 years ago

I am currently trying to recursively run all test files in a directory using the plugin but when I start a run the first file succeeds just fine but going to the second file it throws an error:

Oops...we found an error preparing this test file:

  cypress/support/index.js

The error was:

Error: ENOENT: no such file or directory, stat '/Users/{USER}/Library/Application Support/Cypress/cy/production/projects/client-d48d975971267b67c45c714c3a701c46/bundles/cypress/support/index.js'

I can run each one of the tests with the plugin just fine as a separate run configuration but running them together throws an error

I can also open cypress using cypress open and hit the button to run all integration tests and that works too

Plugin version: 1.4.1 non-pro

khumps commented 2 years ago

After more testing, I am realizing running cypress run to execute all the tests from the command line is also failing so I don't believe this is an issue with the plugin. Will re-open if I can fix that and it still fails in the plugin