-
Notifications
You must be signed in to change notification settings - Fork 4
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
Spec: Provide a starter for end-to-end testing #268
Comments
The other thing to consider is that we can do "E2E" testing of sorts with just the FE/NextJS code. For instance, we can't fully test the language-switching functionality in a component unit test, as the actual switch of the locale requires the execution of the related middleware. We could cover this use case w/ something like Playwright tests (see example). |
@jcq Playwright is a great option! Happy to help if going down that route is deemed appropriate and feasible. |
@sawyerh I asked Sasha to build out Playwright e2e testing into the Remix template we made for the WIC PRP project. I think there's a ton of reusable work there: https://github.com/navapbc/remix-shoegaze-stack |
What's the task?
End-to-end (E2E) test suites are common across our projects, but no templates currently provide this functionality. Let's spec out what it might look like for Platform to provide some support to teams setting up an end-to-end test suite. There are a number of open questions, such as what repo the E2E code should live within and how the tests would run.
References
Some existing references from prior projects
Resources
The text was updated successfully, but these errors were encountered: