Paw amber and grey row markers use darker colors for contrast on light table rows. Details-dot and panel-header colors remain unchanged.
The tests load the actual core and plugin stylesheets. Device names, measurements, poller totals, and alerts are synthetic. These are browser fixtures, not a live installation.
The browser opens a real jQuery UI details dialog, checks its alert data, and closes it. All four severity colors are checked against odd, even, and plain rows and the dark details titlebars.
Use the setup in Cacti theme validation. Set CACTI_ROOT to the
adjacent core checkout and run from the plugin root:
NODE_PATH="$CACTI_ROOT/tests/e2e/node_modules" mise exec node@22 -- node \
"$CACTI_ROOT/tests/e2e/node_modules/@playwright/test/cli.js" test \
--config tests/e2e/playwright.config.cjsSet UPDATE_THEME_SCREENSHOTS=1 to regenerate screenshots. Contrast checks
compose alpha and sample sRGB gradient stops and interiors. They do not prove
contrast for arbitrary image backgrounds or every pixel.
After committing, measure changed CSS line coverage:
mise exec python@3.12 -- python "$CACTI_ROOT/tests/tools/report_changed_coverage.py" \
--base fix/modern-theme-status-contrast --language css --minimum 100 \
--browser-root tests/e2e/test-resultsThis layer extends the shared browser tests above Modern in the native theme
stack. Use origin/develop after the lower layers merge. The gate measures
executed changed CSS lines, not whole-plugin or branch coverage.

