[Infrastructure] Capture E2E test artifacts upon build failure on the CI #30135
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Done
This issue has been fixed
feature-templates
✔️ Resolution: Fixed
The bug or enhancement requested in this issue has been checked-in!
task
Milestone
We currently generate a video and a network trace of every page we create as part of running our E2E tests. For local development we put these under a
videos
andhar
folders respectively on the folder where the tests run from.We need to make sure we capture these assets on the CI on build failure.
Ideally, instead of resorting to "hardcoded" folders, we should have a task to generate a
playwright.overrides|environment.json
file to enable overriding these settings as part of the build/publish process to reflect the environment they will run in.The text was updated successfully, but these errors were encountered: