1
0
Fork 0
polaris-task-force/tests
Z8MB1E 61535aba58 test(audit): correct mobile viewport emulation and grid heuristic
The harness was measuring against a viewport Chromium had already widened:
with isMobile true it grows the layout viewport to fit overflowing content,
so scrollWidth > innerWidth could never fire and real overflows were masked.
hasTouch alone gives (pointer: coarse) while keeping the 390px viewport
fixed, which is what surfaced the remaining resources overflow.

- grid class: flag only grids that overflow a non-scrolling container;
  drop the narrow-track rule (it flagged intentional icon columns) and
  skip min-w-max boards, which scroll by design
- structures detail now resolves from game-structures (the page's
  collection), so the previous phantom 404 is gone
- refreshed baseline: overflow, grid and hoverOnly all at zero
2026-10-12 20:17:27 -04:00
..
audit test(audit): correct mobile viewport emulation and grid heuristic 2026-10-12 20:17:27 -04:00
e2e feat(minigames): show upcoming games as disabled with a release countdown 2026-10-11 18:47:43 -04:00
int feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00
push-schema.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
seed-baseline.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
test-db.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-global.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00
vitest-teardown.ts feat(test): run tests against a dedicated truncated database 2026-09-22 17:58:17 -04:00