@@ -401,6 +401,7 @@ jobs:
401401 )
402402 pnpm "${args[@]}"
403403 cp "$desktop_dir/desktop-browser-smoke.png" "$root/$lane/discord-status-reactions-tool-only-desktop.png"
404+ cp "$desktop_dir/desktop-browser-smoke.mp4" "$root/$lane/discord-status-reactions-tool-only-desktop.mp4"
404405 }
405406
406407 capture_desktop_lane baseline
@@ -431,6 +432,8 @@ jobs:
431432 echo "- Candidate screenshot: \`candidate/discord-status-reactions-tool-only-timeline.png\`"
432433 echo "- Baseline desktop screenshot: \`baseline/discord-status-reactions-tool-only-desktop.png\`"
433434 echo "- Candidate desktop screenshot: \`candidate/discord-status-reactions-tool-only-desktop.png\`"
435+ echo "- Baseline desktop video: \`baseline/discord-status-reactions-tool-only-desktop.mp4\`"
436+ echo "- Candidate desktop video: \`candidate/discord-status-reactions-tool-only-desktop.mp4\`"
434437 } > "$root/mantis-report.md"
435438
436439 cat "$root/mantis-report.md" >> "$GITHUB_STEP_SUMMARY"
@@ -491,7 +494,9 @@ jobs:
491494 "$root/baseline/discord-status-reactions-tool-only-timeline.png" \
492495 "$root/candidate/discord-status-reactions-tool-only-timeline.png" \
493496 "$root/baseline/discord-status-reactions-tool-only-desktop.png" \
494- "$root/candidate/discord-status-reactions-tool-only-desktop.png"
497+ "$root/candidate/discord-status-reactions-tool-only-desktop.png" \
498+ "$root/baseline/discord-status-reactions-tool-only-desktop.mp4" \
499+ "$root/candidate/discord-status-reactions-tool-only-desktop.mp4"
495500 do
496501 if [[ ! -f "$required" ]]; then
497502 echo "Missing required QA evidence file: $required" >&2
@@ -519,14 +524,16 @@ jobs:
519524 cp "$root/candidate/discord-status-reactions-tool-only-timeline.png" "$artifacts_worktree/$artifact_root/candidate.png"
520525 cp "$root/baseline/discord-status-reactions-tool-only-desktop.png" "$artifacts_worktree/$artifact_root/baseline-desktop.png"
521526 cp "$root/candidate/discord-status-reactions-tool-only-desktop.png" "$artifacts_worktree/$artifact_root/candidate-desktop.png"
527+ cp "$root/baseline/discord-status-reactions-tool-only-desktop.mp4" "$artifacts_worktree/$artifact_root/baseline-desktop.mp4"
528+ cp "$root/candidate/discord-status-reactions-tool-only-desktop.mp4" "$artifacts_worktree/$artifact_root/candidate-desktop.mp4"
522529 cp "$root/comparison.json" "$artifacts_worktree/$artifact_root/comparison.json"
523530 cp "$root/mantis-report.md" "$artifacts_worktree/$artifact_root/mantis-report.md"
524531
525532 git -C "$artifacts_worktree" add "$artifact_root"
526533 if git -C "$artifacts_worktree" diff --cached --quiet; then
527- echo "No QA screenshot artifact changes to publish."
534+ echo "No QA screenshot/video artifact changes to publish."
528535 else
529- git -C "$artifacts_worktree" commit --quiet -m "qa: publish Mantis Discord screenshots for PR ${TARGET_PR}"
536+ git -C "$artifacts_worktree" commit --quiet -m "qa: publish Mantis Discord evidence for PR ${TARGET_PR}"
530537 git -C "$artifacts_worktree" push --quiet origin HEAD:qa-artifacts
531538 fi
532539
@@ -558,6 +565,10 @@ jobs:
558565 | --- | --- |
559566 | <img src="${raw_base}/baseline-desktop.png" width="420" alt="Baseline Mantis desktop browser screenshot"> | <img src="${raw_base}/candidate-desktop.png" width="420" alt="Candidate Mantis desktop browser screenshot"> |
560567
568+ Videos:
569+ - [Baseline desktop MP4](${raw_base}/baseline-desktop.mp4)
570+ - [Candidate desktop MP4](${raw_base}/candidate-desktop.mp4)
571+
561572 Raw QA files: https://github.com/${GITHUB_REPOSITORY}/tree/qa-artifacts/${artifact_root}
562573 EOF
563574
0 commit comments