Open Formartha opened 1 week ago
Hi Mor, what version of IDE are you using? both, please, where it works and where it doesn’t.
Hi @mbolotov , It works on 23.2.4 but not on 24.1.3 AFAIK.
Cypress Support-1.7.0-EAP2.zip
@Formartha
you can try this bundle and select the following checkbox in the settings:
@mbolotov , Thanks! Now it recognize the tests as "moca" tests, any idea what to do next?
Unfortunately, I cannot reproduce the new problem. Could you try this bundle? Cypress Support-1.7.0-EAP3.zip
@mbolotov can you please re-upload the file?
@mbolotov can you please re-upload the file?
done
@mbolotov we got some progress, now it finds it as playwright file.
I have already tried to reinstall pycharm and deleted all the content of the cached data from my mac. and also tried using intelij tools to reinstall older version as well, without luck.
could you share the screenshot of a created run configuration?
I think it might be the way that pycharm finds the modules and attaches it to the IDE.
this is the package-json
{ "name": "ui_tests", "version": "1.0.0", "description": "Cypress tests", "main": "index.ts", "scripts": { "cy:open": "cypress open", "cy:run": "cypress run" }, "author": "Limor Amir", "license": "ISC", "dependencies": { "@types/decompress": "^4.2.7", "cypress-multi-reporters": "^1.6.4", "decompress-zip": "^0.3.3", "fs": "^0.0.1-security", "he": "^1.2.0", "junit": "^1.4.9", "mocha": "^10.2.0", "mochawesome": "^7.1.3", "mochawesome-junit-reporter": "^1.1.0", "mochawesome-merge": "^4.3.0", "mochawesome-report-generator": "^6.2.0", "neat-csv": "^5.2.0", "path": "^0.12.7", "typescript": "^4.5.1" }, "devDependencies": { "@types/node": "^18.15.11", "@types/pdf-parse": "^1.1.1", "cy-verify-downloads": "^0.1.14", "cypress": "13.5.1", "cypress-file-upload": "^5.0.8", "decompress": "^4.2.1", "pdf-parse": "^1.1.1" } }
If reinstall the node using npm ci
command, it switches the Pycharm to use mocha. if I remove the mocha, it uses the playwright config.
as for the config:
when I try to run it without the IDE to discover the testing utility I get this:
I meant a screenshot of a run configuration when it's created as a playwright one
After installing the plugin alongside with Test Automation plugin (by Jetbrains) the plugin is unable to lock the option of the IDE to trigger testcases with Intellij-cypress.
I tried removing, uninstalling, reinstalling, disabiling both plugins without luck. as if the 'default test runner' is locked to Test Automation even when it's not there.
I would kindly ask for help in this situation, as one of our workstations does't have the same issue and one does.