jan icon indicating copy to clipboard operation
jan copied to clipboard

feat: Playwright can capture screenshot / video on Error

Open Van-QA opened this issue 1 year ago • 0 comments
trafficstars

Task: Integrate Error-driven Screenshot and Video Capture for Electron Desktop Apps using Playwright

In this task, enhance our automation framework by adding error-driven screenshot and video capture functionality for Electron desktop applications using Playwright. This feature will automatically capture screenshots or record videos upon encountering errors during test execution, aiding in debugging and analysis.

Key Components:

  1. Error Detection: Detect errors during test execution within the Electron application.

  2. Screenshot Capture: Extend Playwright's fixture to capture screenshots of the Electron application window when errors occur.

  3. Video Recording: Integrate Playwright's video recording feature to capture the entire test session, including interactions and errors.

By implementing these features, we will streamline debugging and improve the reliability of your automation tests for Electron desktop apps.

Van-QA avatar Feb 06 '24 08:02 Van-QA