web-renderer-test

Add Vitest-based test cases for the Remotion web renderer using fixtures and preview wiring.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Animesh-Kr/claude-skills --skill web-renderer-test-animesh-kr
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-renderer-test
Source: https://github.com/Animesh-Kr/claude-skills/tree/main/remotion-main/.claude/skills/web-renderer-test
Command: npx skills add https://github.com/Animesh-Kr/claude-skills --skill web-renderer-test-animesh-kr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers extend the web renderer test suite by adding a new fixture-based test case, enabling more robust rendering validation.

Core Features & Use Cases

  • Create a new fixture under packages/web-renderer/src/test/fixtures to represent a test scenario.
  • Wire the fixture into packages/web-renderer/src/test/Root.tsx to enable preview and discovery.
  • Add a corresponding test in packages/web-renderer/src/test to exercise the new fixture using the existing render/verify utilities.

Quick Start

Create a new fixture in the fixtures directory, register it in Root.tsx, add a test file, and run bunx vitest to verify the test passes.

Frequently Asked Questions about web-renderer-test

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

FAQPage Schema
How do I add new test cases to a Remotion web renderer suite?▼

Adding new test cases requires creating a fixture in the test directory, wiring it into Root.tsx for preview discovery, and verifying the corresponding test file using bunx vitest.

What is a fixture-based test case in Vitest for React?▼

A fixture-based test case uses a dedicated component scenario in the fixtures directory to represent a specific rendering state, which is then wired into Root.tsx and verified by Vitest.

Do I need to update Root.tsx when adding web renderer tests?▼

Yes, updating Root.tsx is required to wire the new fixture for preview and discovery before adding the corresponding test under the test directory to run with bunx vitest.

How do I verify new web renderer test cases pass?▼

You verify new web renderer test cases by running bunx vitest after creating the fixture, wiring it into Root.tsx, and adding the test file under the test directory.

Can I use this approach to test React components without fixtures?▼

No, this approach requires fixtures under the web renderer test directory to represent the test scenario and wire it into Root.tsx for rendering validation.