Suites are only available on Momentic Cloud.

You can use suites to group and run tests together. You can configure shared schedules, notifications, and environments for all tests in a suite.

Select Suites on the left sidebar to view all your suites. Click on the Create suite button in the top-right corner to create a new suite.

Setup & teardown

The setup test will always run first before any other tests in the suite. If it fails, the rest of the suite will be skipped and the entire suite will be marked as failed.

If the setup test succeeds, Momentic will continue running the tests in the suite. All tests in the suite will run in parallel.

Whenever the suite’s final result is determined, Momentic will start running the teardown test. The teardown test’s result does not affect the overall suite result.

Persistent variables

To allow passing data between tests in a suite, Momentic exposes the setPersistentVariable JavaScript function. This function allows users to set a variable that is accessible by later tests.

setPersistentVariable("CREATED_USERNAME", "randomusername");