Closed sergeyblohin closed 3 years ago
Hi Sergey, A couple of questions:
Anyway, you could try install mocha globally:
npm install --global mocha
@mbolotov,
what is the Cypress Support plugin version?
1.4
do you have your specs outside of the default cypress folder?
Hm... yes, I have directory /e2e-tests/cypress/quarantine/ where I storage some specs, but I do not want run they.
Anyway, you could try install mocha globally:
I installed mocha globally and rerun tests. That didn't solve the problem. The error still appeared.
After there, I remove all .spec.js files from non-integration folder and rerun tests again. That didn't solve the problem, too. The error still appeared.
Is it possible to share you project with me somehow to reproduce the problem?
@mbolotov
Is it possible to share you project with me somehow to reproduce the problem?
I'm afraid that my project is NDA, but I will now create a new, clean project, add one test and check in it. I'll be back with the results.
I found a scenario where the problem reproduces.
mkdir e2e-tests
cd e2e-tests
yes '' | npm init
npm install cypress
# returns error after install this package
npm install cypress-intellij-reporter
# for init cypress project
npx cypress open
Close cypress runner. Run all tests from integration folder in JetBrains IDE.
Without npm install cypress-intellij-reporter
tests run without errors.
As soon as we install the cypress-intellij-reporter package, errors appear.
Hi, I use:
When I run tests from IDE, then Cypress/IDE returns error:
What I do wrong?