Make Cypress Videos Look Old School
Blog post from Cypress
In a blog post by Gleb Bahmutov, a new trial feature called experimentalRunEvents is introduced for Cypress, allowing developers to run Node code before or after executing a spec file using event hooks that require operating system access. This feature is demonstrated through a tutorial that showcases a playful application of the after:spec hook, which re-encodes test spec videos to appear like old vintage movie reels as an April Fools' joke. The process involves utilizing the ffmpeg utility to adjust the video colors to a yellowish hue and overlaying scaled scratches, aided by additional tools like ffprobe for video resolution adjustments. The tutorial provides a detailed guide on configuring and enabling these experimental hooks, with a focus on how to create and combine vintage video effects, ultimately producing a nostalgic effect using Cypress's capabilities.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.