Commit Graph

4 Commits

Author SHA1 Message Date
06e1cee47c status(kuma): ## DONE — M1+M2 PASS, test_monitor_wizard green 2× (builds #460+#462)
Some checks failed
continuous-integration/drone/push Build is failing
DoD all satisfied:
- Wizard+probe Playwright test: Up (self) + Down (dead-port) real probes proven
- Level 5 both runs; runtime 2.75-2.82s (≪90s budget)
- DEFERRED "uptime-kuma create-a-monitor" closed
- PARITY.md updated
- M1 PASS 2026-06-11T18:26Z + M2 PASS 2026-06-11; no standing VETO

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 18:34:42 +00:00
9afdf3de5a claim(kuma): M2 — build #462 LEVEL 5 PASS (flake #2); DEFERRED closed; PARITY updated
Some checks failed
continuous-integration/drone/push Build is failing
Second drone run #462: uptime-kuma@eb4521cc (PR #3) = LEVEL 5.
test_monitor_wizard [pass] in both #460 + #462 — flake check complete.
DEFERRED.md "uptime-kuma create-a-monitor" closed with build+commit pointers.
PARITY.md: new row for tests/uptime-kuma/playwright/test_monitor_wizard.py.
M1 Adversary PASS @2026-06-11T18:26Z (REVIEW-kuma.md).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 18:32:16 +00:00
fe8922c2da claim(kuma): M1 PASS — test_monitor_wizard green at LEVEL 5 via drone build #460
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
Build 460: uptime-kuma@eb4521cc (PR #3); custom tier playwright:1 PASS.
All stages: install/upgrade/backup/restore/custom/lint PASS.
test_monitor_wizard [pass] — wizard + self-probe UP + dead-port DOWN.
clean_teardown=true, no_secret_leak=true. PR comment  posted.
Artifacts: /var/lib/cc-ci-runs/460/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 18:27:26 +00:00
8da59cff22 feat(kuma): implement wizard+monitor Playwright test (tests/uptime-kuma/playwright/)
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
Phase kuma M1 impl: resolves the 2026-05-28 DEFERRED uptime-kuma create-a-monitor item.

Approach: Playwright (option b) — python-socketio not in cc-ci Nix env; Playwright
handles Socket.IO transparently via the real browser. Selectors confirmed in 2.2.1
compiled bundle (data-cy setup wizard + data-testid monitor form/status badge).

Test flow (test_monitor_wizard_and_probe):
1. Setup wizard: admin create via data-cy form → auto-login → /dashboard
2. Create self-probe monitor (https://{live_app}/) → wait ≤90s for "Up" badge
3. Heartbeat table row check: isFirstBeat=important, row has real datetime stamp
4. Negative: dead-port monitor (http://127.0.0.1:19999/dead) → wait ≤60s for "Down"

All waits are bounded poll with page.wait_for_function/wait_for_url/wait_for_selector.
Admin password: 64-char UUID hex, never printed/logged.

Also: DECISIONS.md records Playwright choice; phase state files bootstrapped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 18:15:13 +00:00