kiva-e2e-browser-testing
Installation
SKILL.md
KIVA E2E Browser Testing
The loop for proving a KIVA-backed app actually works after you change it: sign in headlessly → drive the real UI → read the runtime problems the app collected. It ties together three tools:
kiva auth sso-session— mint a short-lived token so the app logs in with no credential typing.- The kiva browser tools — navigate, snapshot, click, fill, screenshot. Full reference:
kiva-browser-cliskill. This skill only covers the e2e-specific use. @kivacore/devtools— an in-page diagnostics layer most KIVA pi-built apps already ship. Read its collected errors/issues/console withkiva browser devtools.
The e2e loop
1. Confirm CLI auth, env, tenant kiva auth who / env which / auth tenants use
2. Mint an SSO token kiva auth sso-session --clientId <appClientId>
3. Navigate WITH the token kiva browser nav "<appUrl>?sso_token=<token>" → app auto-signs-in
4. Drive the changed flow kiva browser snapshot / click / fill / wait
5. Pull the problems kiva browser devtools issues|errors|console --level error
6. Triage → fix → repeat