Skip to content

[Infrastructure] Capture E2E test artifacts upon build failure on the CI #30135

Closed
@javiercn

Description

@javiercn

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 and har 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.

Metadata

Metadata

Assignees

Labels

✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!DoneThis issue has been fixedarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-templatestask

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions