Git Product home page Git Product logo

Comments (12)

mbolotov avatar mbolotov commented on September 28, 2024

hi @jeffersondarcy!
The easiest way to setup a run configuration for an individual cypress spec (or a test inside it) is to use run gutters:
image
Right click on a gutter and create a corresponding run configuration.

Could you please attach a screenshot where you see the problem?

from intellij-cypress.

jeffersondarcy avatar jeffersondarcy commented on September 28, 2024

I don't have any cypress options, only jest and mokka
Screenshot 2021-01-28 at 17 34 50

from intellij-cypress.

mbolotov avatar mbolotov commented on September 28, 2024

Okay, it means the plugin does not treat your test as a cypress one.
Could you share you project?
If this is not possible, could you at least describe your tests structure? Do you have your tests outside of a directory tree where the cypress.json is placed?

from intellij-cypress.

jeffersondarcy avatar jeffersondarcy commented on September 28, 2024

tests are located in directory e2e/tests, cypress.json is located in directory e2e.
tests are placed in subfolders by suite for example e2e/tests/cart and named like blabla.test.ts

from intellij-cypress.

mbolotov avatar mbolotov commented on September 28, 2024

Unfortunately, I unable to reproduce the problem
image

Could you share your project somehow? Or create another reproducible sample?

from intellij-cypress.

jeffersondarcy avatar jeffersondarcy commented on September 28, 2024

unfortunately I can't share the project. I will maybe try it with a new project to see if it works

from intellij-cypress.

Mukheem avatar Mukheem commented on September 28, 2024

Hello @mbolotov ,

I also see the same issue as faced by @jeffersondarcy .

I used Cypress support free version and Pro version(Trial) one after the another with Intellij Ultimate edition and observed that test cases are recognized by free version and can execute them by just right clicking on spec file --> select cypress as its runner(with appropriate configuration of course)

However, Pro version fails to identify test cases. I managed to configure them manually by changing the spec file name in the same run configuration which was created by free version.

Test case folder structure is projectFolder/myProjectName/cypress/integration/myFolderName/testSpecfile.js

Please be noted that my cypress.json file is under projectFolder/myProjectName/cypress.json

It would be really appreciable if this issue is solved.

from intellij-cypress.

mbolotov avatar mbolotov commented on September 28, 2024

Hi @Mukheem!
Could you share your project to reproduce the problem?

from intellij-cypress.

Mukheem avatar Mukheem commented on September 28, 2024

@mbolotov ,

I cannot share the project adhering to my Organization's policies.

Let me know if it is okay if I reach out to you on your personal mail id to figure out the issue.

from intellij-cypress.

mbolotov avatar mbolotov commented on September 28, 2024

yes, feel free to mail me or join to the plugin's slack channel: https://join.slack.com/t/intellij-cypress/shared_invite/zt-g5lcy9xc-F3qy_g8O~qbZvKjD2m0EjQ

from intellij-cypress.

mbolotov avatar mbolotov commented on September 28, 2024

Hi @jeffersondarcy!
Are you still experiencing the problem?

from intellij-cypress.

mbolotov avatar mbolotov commented on September 28, 2024

@jeffersondarcy I'm closing as there was no answer from you
fell free to create a new issue with details if you have any problems

from intellij-cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.