A regression test for browser video editors: export A, select B, download what?

2026-12-02来源 dev.toEnglish

A video editor can show the right preview and still download the wrong person’s portrait. The shortest test we found uses two images you can distinguish at a glance. A red test card and a blue one are better fixtures than two similar headshots.

  1. Select the red card, export a clip, and leave its download available.
  2. Select the blue card. Before exporting again, check whether the old download is still offered.
  3. Try a corrupt image. Check what the interface calls “ready” and which actions remain enabled.
  4. Select the blue card again, export, and open the downloaded file outside the editor.

We encountered the stale-download case while testing Flex Aura Studio. Replacing the input could leave the earlier export available. The repair invalidates that export when the input changes. In a later Chrome preview test, a corrupt PNG blocked export, and selecting a valid file restored it.

The external playback check earns its place. A filename, a success message, and a correct canvas preview can all coexist with a download pointing to yesterday’s blob. The first frame of a red clip is hard to argue with when the test asked for blue.

原文:https://www.a8q9.cn/en/article/a-regression-test-for-browser-video-editors-export-a-select-b-download-what-66fc48.html

相关文章