What problem does it solve?
Recording and screenshotting Warp's GUI integration tests requires knowing the right environment variables, test harness APIs, and artifact locations, which are easy to get wrong without guidance.
Core Features & Use Cases
- Test Recording Execution: Run named integration tests with real-display capture using WARPUI_USE_REAL_DISPLAY_IN_INTEGRATION_TESTS and WARP_INTEGRATION_TEST_VIDEO.
- Test Authoring: Write Rust tests using TestStep::with_start_recording(), with_stop_recording(), and with_take_screenshot() to capture video spans and PNG screenshots.
- Input Overlays: Generate mouse click indicators, drag trails, and keyboard shortcut pills in recordings by dispatching events via with_event, with_click_on_saved_position, and with_keystrokes.
- Use Case: An engineer debugging a UI regression runs the test_video_recording sample, then inspects the timestamped artifacts directory for recording.mp4, screenshots, and recording.log to verify the fix.
Quick Start
Run the test_video_recording integration test with real display capture enabled and show me the resulting recording.mp4 and screenshots from the artifacts directory.