-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add playwright integration testing #4102
Comments
Adding some notes here as I research further: Test Runner SelectionThere are roughly 3 options for running e2e browser tests:
My instinct here is to investigate "sorry-cypress" and see if we can get something running quickly with that. Artifact StorageBy design, Concourse does not support integrated artifact storage. So we need to find a place to put our test results if we want more than console output. My inclination to start is to write the results to a centralized location on S3: maybe at best we can generate pre-signed URLs for easy, temporary download |
The https://sorry-cypress.dev/ offering requires MongoDB which is currently not available in our brokered database offerings. |
For the test runners, exploring Cypress sans (https://sorry-cypress.dev/) and Playwright would be the better options since they have built-in test runners and would be a lower setup and maintenance lift than Selenium Artifact storage in S3 is our best(only) option. Generating pre-signed URLs for easy, temporary download or a simple search and download tool are two options with minimal lift. |
PR up at: #4285, working example on CI: https://ci.fr.cloud.gov/teams/pages/pipelines/core/jobs/e2e-test/builds/24?vars.deploy-env=%22dev%22 The only issue I'm running into now is naming the report. Concourse is weirdly paternalistic about giving access to the $BUILD_NAME variable. Trying to use the git branch is difficult because the git-resource merges to
|
What about a combo of date and git sha or git message? |
Closed via #4102 |
Investigate adding cypress post #3947 #4014
Notes
Acceptance Criteria
The text was updated successfully, but these errors were encountered: