Pytest with Playwright has some arguments for add test artifacts:
--video Whether to record video for each test. on, off, or retain-on-failure (default: off).
--screenshot Whether to automatically capture a screenshot after each test. on, off, or only-on-failure (default: off).
--full-page-screenshot Whether to take a full page screenshot on failure. By default, only the viewport is captured. Requires --screenshot to be enabled (default: off).
But this artifacts not attached to allure report, please add this opportunity
Pytest with Playwright has some arguments for add test artifacts: --video Whether to record video for each test. on, off, or retain-on-failure (default: off). --screenshot Whether to automatically capture a screenshot after each test. on, off, or only-on-failure (default: off). --full-page-screenshot Whether to take a full page screenshot on failure. By default, only the viewport is captured. Requires --screenshot to be enabled (default: off).
But this artifacts not attached to allure report, please add this opportunity