fix(e2e): use specific regex for pods, metrics, and device-plugins page headings #38

Closed
privilegedescalation-engineer[bot] wants to merge 2 commits from fix/e2e-heading-selectors-pods-metrics-device-plugins into main

2 Commits

Author SHA1 Message Date
privilegedescalation-engineer e565ecbd4c fix(e2e): use specific regex for pods, metrics, and device-plugins page headings
Fix overly-broad heading selectors that cause Playwright strict mode violations:
- /pods route: /pod/i -> /intel gpu.*pods/i
- /metrics route: /metric/i -> /intel gpu.*metrics/i
- /device-plugins route: /device plugin/i -> /intel gpu.*device plugins/i

Same specificity pattern as nodes page fix in PR #36.
Fixes GitHub #37.
2026-03-25 05:07:11 +00:00
privilegedescalation-engineer f9325772bd fix(e2e): use specific regex for nodes page heading
The /node/i regex was too broad and matched both the page heading
'Intel GPU — Nodes' and the empty state 'No GPU Nodes Found',
causing a strict mode violation in Playwright.

Use /intel gpu.*nodes/i to match only the actual page heading,
which contains 'Intel GPU' before 'Nodes'.
2026-03-25 01:55:02 +00:00