autonomic-bot
8da59cff22
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
feat(kuma): implement wizard+monitor Playwright test (tests/uptime-kuma/playwright/)
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
..
2026-05-28 03:12:04 +01:00
2026-06-11 11:51:12 +00:00
2026-06-10 08:16:09 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-09 21:56:15 +00:00
2026-06-11 17:07:38 +00:00
2026-06-10 17:10:26 +00:00
2026-06-09 21:56:15 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 20:53:31 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-11 06:45:43 +00:00
2026-06-10 17:10:26 +00:00
2026-06-10 17:10:26 +00:00
2026-06-11 05:55:43 +00:00
2026-06-02 02:15:58 +00:00
2026-06-11 11:51:12 +00:00
2026-06-11 18:15:13 +00:00
2026-06-10 17:14:21 +00:00
2026-05-28 02:55:58 +01:00