Where your tests live
Momentic tests and modules are*.test.yaml and *.module.yaml files in your
repository. For dashboard-managed web tests,
momentic import pulls them down to
disk with their referenced modules and recreates the folder hierarchy. Mobile
tests use the separate momentic-mobile CLI; it has no cloud import command.
Read the
V2 format reference, the
web command reference, and
Steps for the published format and step references.
Migrating an existing test suite
Use a coding agent through the MCP server with the coding agent skills to write the YAML from an existing spec. This is the recommended way to port a suite. Momentic ships no automatic converter from Playwright, Cypress, or Selenium. Keep your existing suite and CI gate while you port one bounded flow. Preserve its setup, authentication, data, assertions, waits, and cleanup. Label the new test, lint it, and inspect the selection withmomentic list --labels migrated
(or momentic-mobile list --labels migrated for mobile) before running it.
Compare both runners on the same build and starting state, including an expected
failure. Review recovery and classification as well as the pass status. Retire
an old spec only after its replacement preserves the coverage and CI failure
behavior you require. Keep unsupported browser, device, fixture, or component
coverage in its existing runner.
Follow the guide for your source framework:
- Playwright: fixtures, storage state, browser projects, and network checks.
- Cypress: session validation, intercepts, command chains, and plugins.
- Selenium and Appium: page objects, waits, capabilities, and device support.
- Maestro: subflows, launch/reset behavior, selectors, and variables.
authLoad reads cookies and local storage from a
Playwright storage-state file; keep the auth bootstrap and validate any
IndexedDB-dependent authentication separately.
Migrate out of Momentic
Momentic ships no exporter. See How Momentic works for the execution model. The YAML files are already in your repository, and the format is published, so you do not need to extract test source from a vendor first. Enterprise customers can ask for a one-time eject to open-source Playwright at contract termination. Ask your account team. Some steps have no equivalent in an open-source framework:- An AI action takes a goal in plain English and decides the clicks and the types itself.
- An AI check reads the DOM, the accessibility tree, and a screenshot to judge a semantic assertion.
- The step cache replays a resolved step with no model call.
- In-flow classification gives a failed run a category and a triage action before the CLI exits.
- Auto-maintenance repairs a step that moved.
--reporter junit,
--reporter json, or --reporter playwright-json so your dashboards and CI
gates do not depend on Momentic’s. See
Results and reporting and
JUnit outputs.