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.
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
videosandharfolders 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.jsonfile to enable overriding these settings as part of the build/publish process to reflect the environment they will run in.