mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-22 19:56:01 +00:00
1.4 KiB
1.4 KiB
Scenario: Relay Pairing & Mobile Readiness
Goal
Prove that relay pairing works end-to-end: configure relay settings, verify connection to the relay server, generate a QR code for mobile pairing, and confirm the onboarding deep link is available.
Environment
- Base URL:
{{base_url}} - Username:
{{username}} - Password:
{{password}} - Relay Host: provided via
PULSE_E2E_RELAY_HOST
Required checks
- Relay feature is available in license entitlements (
GET /api/license/entitlementsincludesrelaycapability). - Relay settings can be configured with the test relay server (
PUT /api/settings/relaywithenabled: true, server_url: "..."returns 200). - Relay status becomes connected within 60s (
GET /api/settings/relay/status→connected: true). - Onboarding QR code returns required fields (
GET /api/onboarding/qr→schema,instance_url,relay,auth_token,deep_link). - Onboarding deep link is available (
GET /api/onboarding/deep-link→urlfield non-empty). - Relay settings page in the UI shows relay-related content (Relay, Connected, Enabled, etc.).
Output contract
Write JSON to {{result_json}} with this shape:
{
"status": "pass",
"summary": "short outcome summary",
"evidence": ["bullet point 1", "bullet point 2"],
"issues": []
}
Use "status": "fail" when any required check fails.