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

Cypress runner doesn't detect specs in nested dirs #55

Closed martaver closed 3 years ago

martaver commented 3 years ago

I have a project with two source roots, where cypress is installed under ./client/.

In this case I've set up my run configuration so that: 'Cypress project base' is <repo_path>/client. 'Test directory' is <repo_path>/client/cypress/integration, and I have selected 'All in directory'.

My specs are in nested directories underneath /integration, however Cypress runner doesn't find them. Cypress runner only finds specs that are direct descendants of the 'Test directory' path.

I'm trying to run cypress in Interactive mode.

mbolotov commented 3 years ago

I was unable to reproduce the problem as you described. But I changed the path that is passed to cypress runner from relative to absolute. @martaver, could you please check if this worked okay for you? Please take bundle with the fix from #54

mbolotov commented 3 years ago

Hi @martaver! Could you please check if the problem persists in 2.4.0 version?

mbolotov commented 3 years ago

closing as no feedback received. feel free to comment/create a new issue if problem persists