-
Notifications
You must be signed in to change notification settings - Fork 0
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
Containerize e2e tests #88
Conversation
@lorenyu just checking in on general format of this before going further - a summary so far:
|
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.
Yeah general direction looks good!
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.
Caveat I haven't looked at the actual e2e stuff; just a few thoughts as I was scrolling through this PR, wouldn't call any of them blocking.
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.
Added just a couple more nits. The suggestions from Tanner also seem good to do.
Co-authored-by: Tanner Doshier <[email protected]>
Co-authored-by: Loren Yu <[email protected]>
I think we're close to being able to move this to |
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.
some nits otherwise LGTM!
## Ticket #735 ## Changes - dockerize e2e tests with playwright - Tested on `platform-test-nextjs` => navapbc/platform-test-nextjs#88
Ticket
navapbc/template-infra#735
Changes
Context
Imrproves portability and avoids having to
apt-get
a bunch of packages https://github.com/navapbc/template-infra/blob/32ce571bd5656c4efc0615c58b2e8ed2a3a739f8/Makefile#L235For all local e2e testing - you'll need to have the app running locally and call the run command with the correct port and app (folder name) (hitting your locally running app from local docker uses a base url of
host.docker.internal
)PR checks are still testing against the PR preview env
Opened on a
template-infra
=> navapbc/template-infra#770https://playwright.dev/docs/docker
output.mov
Preview environment