mix live_interaction_contracts.check (live_interaction_contracts v1.1.0)

Copy Markdown View Source

Runs one declarative interaction contract against an already-started LiveView app. The runner performs real clicks, requires a subject-local patch acknowledgment, compares DOM object identity and native browser state, and writes JSON evidence.

mix live_interaction_contracts.check       --url http://127.0.0.1:4000       --contract test/interaction_contracts/account_menu.json

Options:

  • --url — required base URL; loopback only unless --allow-remote
  • --contract — required v1 JSON contract path
  • --browser — chromium (default), firefox, or webkit
  • --out — JSON evidence path (default: live-interaction-contracts-result.json)
  • --allow-remote — permit an explicitly safe non-loopback test target
  • --validate-only — validate contract/target without launching a browser

Exit status is non-zero for fail, inconclusive, and infrastructure/contract error.