Commit Graph

16 Commits

Author SHA1 Message Date
Jonathan Davies
d113e69a87 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.
2026-03-05 11:15:54 +00:00
Jonathan Davies
709b724c12 nixos/prometheus: tests: Improve Selenium clickthrough test 2025-12-22 11:09:19 +00:00
Jonathan Davies
bad8fe30ab nixos/prometheus: pushgateway test: Have client wait for network 2025-11-22 11:16:31 +00:00
Jonathan Davies
79c9b6c5fd nixos/prometheus: tests: Add basic Selenium test for UI 2025-10-18 22:58:19 +01:00
Jonathan Davies
ddf9a3eba5 nixos/prometheus: Extend prometheus-pair test to verify first compaction succeeds 2025-06-04 17:30:24 +00:00
Defelo
e8e61acc9c nixos/tests/prometheus/alertmanager-ntfy: init 2025-04-29 13:03:58 +02:00
Defelo
008a4657dd nixos/tests/prometheus: migrate to runTest 2025-04-27 17:19:57 +02:00
Franz Pletz
fe6c468ecc nixos/tests/prometheus-pushgateway: remove missing target
network-online.target isn't wanted by multi-user.target anymore.
2024-12-30 13:52:44 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jonathan Davies
7ce4fe5463 nixos/prometheus: Log systemd-analyze for alertmanager/webhook-logger/pushgateway 2024-07-07 00:15:42 +01:00
Jonathan Davies
2c6830c47e nixos/prometheus: Move config reload test to subtest 2024-06-03 20:33:28 +01:00
Jonathan Davies
0c99c5f8b7 nixos/prometheus: Added Alertmanager test case 2024-06-03 20:33:28 +01:00
Jonathan Davies
38495e1ec0 nixos/prometheus: Added federation test case 2024-06-03 20:33:24 +01:00
Jonathan Davies
87cb2d582e nixos/prometheus: Added pushgateway test case 2024-06-03 20:33:23 +01:00
Jonathan Davies
61e7915267 nixos/prometheus: Added remote-write test case 2024-06-03 20:33:22 +01:00
Jonathan Davies
d6296eceaf nixos/prometheus: Added simple two Prometheus server testcase 2024-06-03 20:33:21 +01:00