lol

nixos/prometheus: tests: ui: fix race conditions in Selenium assertions

Use explicit WebDriverWait conditions instead of immediate assertions for elements whose content is populated asynchronously by JavaScript. URL redirects, query results, health status, and version info may not be ready immediately, causing flaky failures. Also replace locate_with relative locator with a direct XPath selector for the version check.


Author Jonathan Davies Date Commit Parent c1fc9f6b
+19 -25
1 changed file
+19 -25
1 changed file