Closed aetherealtech closed 1 year ago
Hi Dan,
The Pro version analysis the Cypress configuration file to check if a test file can be accepted by Cypress. If not, the plugin does not show the green icons.
Are you sure your test file is under the integrationFolder
folder (or componentFolder
in case of a component test) as it configured by the cypress.json
?
The test is under cypress/integration, which is where the cypress install placed the example tests. There was nothing in cypress.json that specifies folders. Adding integrationFolder
and setting it to this default location fixed the problem (the test play button now uses the Cypress plugin).
Note that this is neither inserted by cypress when it is installed and the cypress.json is created, nor is it necessary for Cypress itself (it looks in cypress/integration by default).
Hmm, this is very strange.
I'm almost every day use the plugin in projects with an empty cypress.json
and it works okay.
Is it possible somehow to share your project to reproduce the problem?
Hi @mbolotov i have the same issue with webstorm and the pro version of the plugin, with the free version it works perfectly.
@mendieta Could you provide any sample project to reproduce the problem?
A simple new nextjs project (with) ts and adding cypress 10^ will have the problem. Also if cypress is 10 the runner cant use a single test or test file.
What version of the Cypress Pro plugin do you use?
version 3.2
@mendieta
could you set FINE log level for the plugin?
After that, please reopen a project with problem, collect the log and send it to me.
Please clear all the sensitive data if you have it in the Cypress configuration files.
@mendieta I found a problem. Could you try this bundle with the fix: Cypress Support Pro-3.2.1-EAP.zip
should be fixed in 3.2.2
Same issue for me.
I am running the plugin of the latest version 3.3.1. And using the cypress 10 which the configuration file is in typescript and not in json format. So does this plugin support the typescript config file yet? like cypress.config.ts
Hello Chao! Please create a separate issue for you problem and provide the details. Especially:
and answering the question: yes, the plugin do support typescript config files
In the free version of the plugin, a test that has no existing configurations provides a menu when the green "play" button is pressed to select Jest or Cypress. When I upgraded to Pro, this menu disappeared and Jest is always selected when running a test. Downgrading back to the free plugin fixes the problem.