Skip to content

test(e2e): add thumbnail visibility tests for map page - #38

Merged
kelleyglenn merged 3 commits into
masterfrom
feature/31-video-thumbnails
Feb 20, 2026
Merged

test(e2e): add thumbnail visibility tests for map page#38
kelleyglenn merged 3 commits into
masterfrom
feature/31-video-thumbnails

Conversation

@kelleyglenn

Copy link
Copy Markdown
Owner

Summary

  • Adds 2 new E2E tests verifying video thumbnails are visible on the map page
  • video list items display YouTube thumbnails — asserts <img> with YouTube thumbnail URL appears in video list items
  • video info popup displays thumbnail — asserts thumbnail appears in the info card popup after clicking a video

Depends on:

  • AcctAtlas-web-app#55 (merged) — maps thumbnailUrl from search API response
  • AcctAtlas-search-service#25 (merged) — adds thumbnail URLs to dev seed data

Closes AccountabilityAtlas/AccountabilityAtlas#31

Changes

  • e2e/tests/map/map-browse.spec.ts: Added 2 thumbnail visibility tests

Test plan

  • New tests pass on all 3 browsers (Chromium, Firefox, WebKit)
  • Full suite passes (npm run test:all — 284/284, 1 pre-existing flaky)

🤖 Generated with Claude Code

kelleyglenn and others added 3 commits February 19, 2026 17:11
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The YouTube API returns thumbnails from i.ytimg.com with varying
resolutions (maxresdefault, hqdefault, etc.), not just img.youtube.com
with mqdefault as in our seed data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kelleyglenn
kelleyglenn merged commit a3be997 into master Feb 20, 2026
2 checks passed
@kelleyglenn
kelleyglenn deleted the feature/31-video-thumbnails branch February 20, 2026 15:55
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.

1 participant