-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: improve the handling of videos and traces for Playwright tests
You don't need to create a `conftest.py` file anymore. The video and trace will be attached to the test result automatically. You can configure the video and trace recording using the following parameters: - `--video on` - add a video to each test - `--video retain-on-failure` - add a video to each filed test - `--tracing on` - add a trace to each test - `--tracing retain-on-failure` - add a trace to each filed test - `--output` - the directory where the video and trace will be saved. By default, the video and trace will be saved in the `test-results` directory.
- Loading branch information
Showing
4 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters