testdriver:dashcam

Capture video and logs during Vitest test execution via the Dashcam API.

238|34|Updated Aug 25, 2024
One-click install
npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-dashcam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testdriver:dashcam
Source: https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver%3Adashcam
Command: npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-dashcam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dashcam automates the tedious process of recording test sessions by capturing video and logs during execution, enabling easy review and debugging after runs.

Core Features & Use Cases

  • Automatic screen recording and log aggregation during tests
  • Seamless integration with presets and direct Dashcam initialization
  • Use case: review a failing test by watching a replay and inspecting logs to identify root causes

Quick Start

Use dashcam to automatically record your test run and retrieve a replay URL after the test completes.

Frequently Asked Questions about testdriver:dashcam

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record video and logs during automated test execution?

Recording video and logs during automated test execution is handled by capturing screen activity and aggregating logs via a programmable Dashcam API. It automates end-to-end test recording for post-run review and debugging.

Can I capture test screen recordings in headless browser environments?

Yes, capturing test screen recordings in headless environments is fully supported alongside standard browser setups. The recording tool integrates with presets to enable automatic video capture across different testing contexts.

Does dashcam test recording work with Vitest-based workflows?

Yes, dashcam test recording is specifically designed for Vitest-based test workflows. It provides seamless integration with presets and direct Dashcam initialization to automatically capture video and logs during execution.

What is the best way to debug a failing end-to-end test run?

Debugging a failing end-to-end test run is best achieved by reviewing an automatic video replay and inspecting the aggregated test logs. This combination helps identify the root cause of the failure quickly.

How do I programmatically start and stop test video recording?

To programmatically start and stop test video recording, use the Dashcam API methods including start, stop, and auth. Additional methods like addLog and addApplicationLog allow you to inject custom logs during the session.

How do I retrieve the replay URL after a test run finishes?

Retrieving the replay URL after a test run finishes is an automated process provided by the dashcam preset integration. Once execution completes, the tool outputs a replay URL for immediate review.