G-Fidalgo / cypress-runner

Run one or multiple Cypress test from CodeLens
MIT License
6 stars 0 forks source link

Support for NX projects #15

Open mackelito opened 2 months ago

mackelito commented 2 months ago

Is your feature request related to a problem? Please describe. We use NX (https://nx.dev) and would love for this extension to work. When trying we just get Your supportFile is missing or invalid: src/support/e2e.{js,ts}

Describe the solution you'd like A clear and concise description of what you want to happen.

G-Fidalgo commented 1 month ago

Hi @mackelito

Sorry for the delay

Indeed messages are a bit confusing, I will explain the steps I had to replicate in order to get it working on a Sample NX project

Just launched a basic project using NX

npx create-nx-workspace nx-cypress-runner

I had the same issue as you shared

Your supportFile is missing or invalid: src/support/e2e.{js,ts}

So the steps I followed in order to get it working are the following:

image

Just to keep it clear, is looks like a configuration of cypress more than an issue with the extension itself

Please let me know if the solution works for you :)