mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-25 18:14:03 +00:00
0d4660fad5
Adds test-issue-1128-multi-viewport-e2e.js — closes the original
acceptance criterion 'E2E tests take SCREENSHOTS at multiple
viewports + assert no element-overlap'. Asserts at 1280x900,
1080x800, 768x1024:
A. No two .filter-group siblings vertically overlap (Bug 3 wrap)
B. Saved/Types dropdowns don't overlap groups below them (desktop+laptop)
C. Dropdown selectors compute z-index in [100,199] band
(.col-toggle-menu, .multi-select-menu, .region-filter-options-menu,
.fux-saved-menu, .fux-ac-dropdown)
D. .path-hops chip line-height ≤ 18px (Bug 1 lock)
E. .col-path computes height ≤ 28px (table-cell height, not max-height)
F. Saves a per-viewport screenshot to e2e-screenshots/
Also wires scripts/check-css-vars.js into the CI go-test job
before the JS unit tests.
Red commit: on the current tree this fails on
* the CSS-var lint (3 undefined vars in style.css)
* z-scale band check (.col-toggle-menu=50, .multi-select-menu=90,
.fux-saved-menu / .fux-ac-dropdown = var(--z-tooltip)=9200)
* .col-path height (currently set via max-height only)
* .path-hops chip line-height (no explicit lock)
Subsequent commits in this branch make it green.
Refs #1128