momentic-test

Installation
Summary

Create, run, and maintain end-to-end tests using AI-driven browser automation with YAML serialization.

  • Tests are ordered lists of structured steps executed with Playwright and CDP, supporting interactive clicks/types, multimodal assertions, and goal-based AI actions
  • Step metadata (selectors, XPaths, coordinates) is cached by git branch to avoid repeated AI calls; cache can be disabled or refreshed per step when targeting dynamic elements
  • Tests and reusable modules serialize to disk as *.test.yaml and *.module.yaml files (v2 format supports direct YAML editing; v1 requires MCP CLI)
  • Test context persists across steps via env variables; JavaScript steps run in either NODE (with Momentic helpers, database access, OTP/email) or BROWSER (with DOM access)
  • Smart waiting up to 5 seconds settles page state before targeting; project defaults in momentic.config.yaml can be overridden per test for browser type, viewport, auth, proxy, and timeouts
SKILL.md

Write Momentic tests

Installs
68.6K
GitHub Stars
17
First Seen
Apr 8, 2026