Skip to content

test: add demo video regression coverage - #71

Open
kimberlydemaio wants to merge 1 commit into
Ayush-Kumar0207:mainfrom
kimberlydemaio:test/demo-video-regression
Open

test: add demo video regression coverage#71
kimberlydemaio wants to merge 1 commit into
Ayush-Kumar0207:mainfrom
kimberlydemaio:test/demo-video-regression

Conversation

@kimberlydemaio

Copy link
Copy Markdown

Why this change?

Issue #68 requests a regression test for the /demo-video page so future changes don't accidentally break the video, captions, poster, or demo link.

Closes #68

What changed?

Added a new unit test for the /demo-video page.

  • an HTML5 video element is rendered
  • the video source points to /media/codeverse-demo.mp4
  • the poster references /media/codeverse-demo-poster.jpg
  • an English captions track points to /media/codeverse-demo.vtt
  • the captions track is not marked as default
  • the page includes a link to the interactive /demo workspace

No production code was changed.

How did you verify it?

  • Relevant unit or server tests
  • npm run lint
  • npm run typecheck
  • npm run audit:repo
  • Relevant application or catalog audits
  • Production build when the client changed
  • Screenshots or recording for visible UI changes

Ran npx vitest run tests/unit/demo-video.test.tsx

All 6 tests passed.

Risk, rollout, and recovery

Low risk. This is a test-only change, so it shouldn't affect the application.

If needed, it can be reverted by removing the new test file.

Reviewer guide

Please review:

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

@kimberlydemaio is attempting to deploy a commit to the ayush-kumar0207's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[First PR] Add a regression test for the narrated demo player

1 participant