-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Adding E2E testing with Playwright #3349
Conversation
|
Can you update the CONTRIBUTING.md and explain how to run these. Also an explanation of how to run an individual test (rather than all of them) would be great. |
9ee980a
to
1cccce8
Compare
e8fa46c
to
a17921c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for this to be merged!
a17921c
to
7ea9c16
Compare
This reverts commit 48496f4.
7ea9c16
to
c9a2a9e
Compare
915bd55
to
ee16c14
Compare
946f54d
to
ac62f7d
Compare
* adding Tailwind E2E tests with Playwright * package.json updates * adding e2e tests to CI workflow * using e2e for dev tests, mocha for build tests * refactor: sharing test-utils helpers * chore: update lockfile * Adding contributing docs * Revert "refactor: sharing test-utils helpers" This reverts commit 48496f4. * refactor: simpler solution to resolving e2e test fixtures * chore: updating lockfile * refactor: cleaning up how URLs are resolved in e2e tests * install playwright deps in CI * trying pnpm playwright install to fix version mismatch
* adding Tailwind E2E tests with Playwright * package.json updates * adding e2e tests to CI workflow * using e2e for dev tests, mocha for build tests * refactor: sharing test-utils helpers * chore: update lockfile * Adding contributing docs * Revert "refactor: sharing test-utils helpers" This reverts commit 48496f4. * refactor: simpler solution to resolving e2e test fixtures * chore: updating lockfile * refactor: cleaning up how URLs are resolved in e2e tests * install playwright deps in CI * trying pnpm playwright install to fix version mismatch
Changes
Includes Playwright for E2E testing. The proof of concept migrates over our Tailwind tests to better validate rendered CSS styles, but with a few extra test utils we'll also be able to do proper HMR testing 🎉
Testing
That's all it is!
Docs
None, test coverage only