badeball / cypress-cucumber-preprocessor

Run cucumber/gherkin-syntaxed specs with Cypress
MIT License
1.32k stars 147 forks source link

cypress-cucumber-preprocessor support cypress-vite #1135

Closed ShaharM7 closed 9 months ago

ShaharM7 commented 10 months ago

The current state that there is a preprocessor for causing the e2e tests to be run and it is called:

cypress vite

Desired behavior

The Desired behavior is to support the cypress-cucumber-preprocessor for the cypress-vite preprocessor. It would be great if you could provide an example of that.

The reasons for that I ask for support vite are: 1) esbuild doesn't work well, as I tested. 2) webpack with endless errors and very slove if it works. 3) browserify is out to date. 4) Vite builds on rollup bundle

I want to be able to use this cypress-vite preprocessor with cucumber, it is an amazing solution in my opinion, and also for future use

Versions

Checklist

badeball commented 10 months ago

I can’t show you how right now, but encourage anyone to make an example, if possible.

badeball commented 10 months ago
  1. esbuild doesn't work well, as I tested.

This would probably be a lot more helpful if you would share more about this. Right now I suspect this screams XY: https://xyproblem.info/

alixsep commented 9 months ago

Any update on this?!

Edit: I would love to know how to setup this package (@badeball/cypress-cucumber-preprocessor) with cypress-vite.

badeball commented 9 months ago

Any update on this?!

No. Neither of you have convinced me that this is necessary.

I would love to know how to setup this package (@badeball/cypress-cucumber-preprocessor) with cypress-vite.

Why do you want to use cypress-vite?