Commit 7e8067d
test: re-record browser-extension fixtures on the current GitHub DOM, by era
GitHub A/B-tests its PR page markup, so the extension carries selectors for more
than one DOM era. Split the fixture corpus into date-stamped era directories so
both are exercised: github_dom_2025_02/ (the existing captures, moved and now
sanitized — they were leaking the original capturers' identities into this public
repo) and github_dom_2026_07/ (freshly recorded from synthetic PRs on the
mergify-sandbox org: opened, merged, no_mergify, no_timeline_actions,
batch_closed).
The fixture loader takes an era; the flat searchConfig* and mergify_timestamp
fragment fixtures are unaffected. Existing tests pin the legacy era explicitly; a
new suite asserts the era-agnostic detection (data-status pill, merged-by-Mergify
timeline, Mergify app-avatar marker) against the current DOM.
Recorded via the record-github-fixtures + extract-browser-cookies skills
(Mergifyio/skills#32, #33).
MRGFY-8087
Test plan:
- npx jest (284 passing) — legacy suite green through the era loader; new
current-DOM parity suite green.
- npx biome check — clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KJbLFjMX9mb8o5T3JXTAXL
Change-Id: I966a2d36a92c50664bdea6918b1987293014b8221 parent 09b2ada commit 7e8067d
13 files changed
Lines changed: 19503 additions & 166 deletions
File tree
- src/__tests__
- fixtures
- github_dom_2025_02
- github_dom_2026_07
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.
Lines changed: 42 additions & 42 deletions
Large diffs are not rendered by default.
Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.
Lines changed: 46 additions & 46 deletions
Large diffs are not rendered by default.
Lines changed: 4093 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4932 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2982 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2968 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4299 additions & 0 deletions
Large diffs are not rendered by default.
0 commit comments