10up / cypress-wp-setup

NPM package to set up boilerplate for Cypress testing.
MIT License
18 stars 1 forks source link

Option to opt out of @wordpress/env? #33

Open colegeissinger opened 1 year ago

colegeissinger commented 1 year ago

Describe your question

This is a great package with easily getting Cypress all setup and configured. However, in my use cases (as far as I know), I won't need the @wordpress/env package in any of my Cypress tests. A lot of great work here that will save me time setting this up :)

So I'm curious about 1) what is the overall goal and intentions of including that package and 2) is having the option to skip the inclusion of the @wordpress\env possible?

Thanks!!

Code of Conduct

cadic commented 1 year ago

@colegeissinger hey, thanks for the feedback

1) The purpose of this package is a quick boilerplate start-up for E2E tests using Cypress. In most of our open source projects we are using wp-env as the main testing platform, that's why it was initially included here.

2) There is no option to skip wp-env setup yet. We can add it, as well as any alternatives you may suggest: --platform=none or --platform=whatever