Demo video
Make a demo video of your app from its tests: pick the scenes, caption them, and render a 1080p MP4.
Make a demo video of your app from its tests: pick the scenes, caption them, and render a 1080p MP4.
Tools → Demo turns your app’s browser tests into a demo video. Each scene is one test, run again slowly so every click can be followed, shown in a browser window with a caption. The video opens on a title card with your app’s icon, name and tagline, and closes on its address once it’s published.
Because the tests are the script, the demo stays true to the app: when the app changes, render it again.
The video is landscape 1920×1080 with no sound. A render takes a minute or two.
The agent writes a test for each requirement as it builds the app. If the Tests tab is empty, ask the agent to write them first.
Open Tools → Demo and click Start from tests: you get one scene per requirement, captioned with what it lets people do. Or click Write it with agent and the agent picks the scenes that tell your app’s story, writes the captions, and renders it.
Give the demo a title, a tagline and a color. Reorder scenes with the arrows, remove the ones you don’t need, add others with Add scene, and rewrite captions in your own words.
Click Render. The panel shows Recording the scenes… while the tests run, then Rendering with a percentage. When it’s done the video plays in the panel; Download MP4 saves it.
The panel says why:
The last video that rendered stays until a new one replaces it.
.onedrop/demo.json and committed with it. The video is kept in the sandbox (.onedrop/demo/demo.mp4), never committed; only the latest one is kept.{
"title": "Todos",
"tagline": "Plan your day in seconds",
"accent": "#4338ca",
"scenes": [
{
"file": "tests/e2e/todos.spec.ts",
"title": "Todos › User should be able to add a todo",
"caption": "Add a todo in one click"
}
]
}
A scene names its test by file and title (describe blocks joined with ›, tags left out), so it still matches when the test moves within its file. The agent can render from the sandbox with /opt/onedrop/demo render, following /opt/onedrop/guides/demo.md.
The video is made with Remotion: the tests run with the page drawn at 1.5× and are recorded frame by frame over the browser’s debugging protocol, along with every mouse move, click and field typed into, and Remotion composes them into the MP4.