Skip to main content
Manage, view, and upload test results.

upload

Upload test results to Momentic dashboard.
npx momentic-mobile results upload <folder>

Arguments

<folder>
string
required
The path to the folder containing test results generated by a momentic-mobile run invocation or by the momentic-mobile results merge command. momentic-mobile run saves local results to the folder specified by the --output-dir option, which defaults to test-results.

view

Launch the run viewer to inspect test results locally. Starts a local server, opens it in your browser, and opens the specified run in the run viewer UI.
npx momentic-mobile results view <results> [runId]

Arguments

<results>
string
required
Path to the folder containing a runs/ subfolder with test results. Defaults to test-results. momentic-mobile run saves local results to the folder specified by the --output-dir option.
[runId]
string
The run ID to open, correlates to a zip file in the runs/ subfolder of your results directory. For example, for runs/eed92602-7355-43dc-8d79-1c43029bec26.zip use runId eed92602-7355-43dc-8d79-1c43029bec26. If not provided, the run viewer opens to a table with all runs in the run group within the results directory.

Options

--port <port>
number
Port for the run viewer server. Defaults to 58889.