momentic queue - Momentic
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Deprecated. Cloud-hosted tests are being phased out as part of the broader cloud deprecation. Both queue tests and queue suites remain for backwards compatibility and will be removed in a future release. Run tests locally or in CI with momentic run instead.
Queues dashboard-hosted tests or suites for cloud execution. Requires the tests to exist on the Momentic dashboard.
npx momentic queue tests <tests...>
tests
Queue one or more individual tests.
npx momentic queue tests <tests...>
Arguments
<tests...>
array
required
Names of the dashboard tests to queue. Pass multiple values separated by spaces.
Common flags
--all
boolean
Queue every enabled dashboard test in the organization instead of only the named tests. The current CLI still requires a positional test name with this legacy flag; prefer momentic run for local and CI execution.
--env
string
Environment to run the tests in. Overrides any environment configured on the test itself. The base URL set on the test still takes precedence; use --url-override to override it.
--url-override
string
Override the base URL of the test or environment. Use it to run against a preview deployment.
Inputs
--custom-headers <customHeaders...>
array
Custom headers to include in the test run. Specify multiple headers separated by spaces.
--input-csv
string
CSV file containing input data for the tests. Each row provides input for a separate test run.
Waiting
-w, --wait
boolean
Wait for the run to complete before exiting.
--wait-timeout
number
Maximum time to wait for the run to complete, in seconds. Defaults to 1800. Requires --wait.
suites
Queue one or more dashboard suites.
npx momentic queue suites <suites...>
Arguments
<suites...>
array
required
Names of the suites to queue. Pass multiple values separated by spaces.
Options
--custom-headers <customHeaders...>
array
Custom headers to include in the run.
--env
string
Environment to run the suite in. The base URL on the suite still takes precedence; use --url-override to override.
--url-override
string
Override the base URL of the suite or environment.
-w, --wait
boolean
Wait for the run to complete before exiting.
--wait-timeout
number
Maximum time to wait for the run to complete, in seconds. Defaults to 1800. Requires --wait.
Examples
Queue a single dashboard test and wait for completion:
npx momentic queue tests checkout-happy-path --wait
Queue a suite against a preview deployment:
npx momentic queue suites smoke --url-override https://preview-123.example.com