navapbc / wic-participant-recertification-portal

https://navapbc.github.io/wic-participant-recertification-portal/
Apache License 2.0
0 stars 1 forks source link

[PRP-181] Set up testing for staff portal (redo) #34

Closed rocketnova closed 1 year ago

rocketnova commented 1 year ago

Ticket

https://wicmtdp.atlassian.net/browse/PRP-181

Changes

What was added, updated, or removed in this PR.

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers. Explain how the changes were verified.

This PR configures the staff portal to be able to run Playwright for e2e tests. When you run npm run e2e, it will run the same pattern of commands as in #30. If Prisma files need to be updated to match current changes in the participant remix app, you can run npm run prisma:prepare.

Testing

Screenshots, GIF demos, code examples or output to help show the changes working as expected. ProTip: you can drag and drop or paste images into this textbox.

Run npm run e2e

rocketnova commented 1 year ago

@microwavenby This PR replaces #29 which I broke so completely that there was no recovering it. Sorry to have you re-review, but it should be largely the same.

rocketnova commented 1 year ago

Oh I just realized I need to rework this for the e2e changes I made for the participant app.