Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding E2E test suite #229

Open
swissspidy opened this issue Jun 27, 2019 · 2 comments
Open

Allow adding E2E test suite #229

swissspidy opened this issue Jun 27, 2019 · 2 comments

Comments

@swissspidy
Copy link
Member

Feature Request

In https://core.trac.wordpress.org/changeset/45570, a new E2E test setup was added to WordPress core.

Maybe we can provide a similar setup for the plugin scaffolding so that developers can easily write E2E tests themselves.

Not sure how feasible that would be.

@nerrad
Copy link

nerrad commented Jun 27, 2019

One of the tricky things here is navigating what happens when plugins might have their own package.json file as part of implementing this will be adding a dependency to the @wordpress/scripts package (for exposing wp-scripts test-e2e.

@schlessera
Copy link
Member

I think we can skip creating the package.json file then and show a warning with the npm command to run to adapt the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants