Adjusting page interaction speed

The Unified test runner generally executes tests significantly faster than the v1 runner. This speed of execution is closer to the speed seen in local runs and replay in the Desktop App trainer.

While this speed increase is usually helpful for receiving rapid feedback on test results, sometimes tests may fail if they do not handle timing gracefully. This could include instances where the page has not loaded or the state of an element has not changed yet.

However, if your application tends to run more slowly, or if there are considerable speed differences between environments, we offer the option to modify the page interaction speed for Unified test runs.

🚧

We recommend adding a wait until step before attempting to use this setting to ensure the application is in the correct state.

Environment speed settingsEnvironment speed settings

Environment speed settings

By default, all tests using the Unified test runner will execute with a Normal Page Interaction Speed. This means that mabl will attempt to run the test as quickly as possible.

There are two additional options, Slow and Slower, which add additional wait time after each step in your test. This setting can be modified at the environment level, which will apply to any Unified test runs associated with that environment.

Plan speed settingsPlan speed settings

Plan speed settings

This setting can be set at the plan level. By default, plans using the Unified runner will inherit the settings associated with the chosen environment. However, the setting can be overridden for the specific plan.

mabl tests run --run-id 12jk1l4j21u3n2-jr --interaction-speed slow

The page interaction speed can also be specified for local runs through the mabl CLI using the --interaction-speed flag.


Did this page help you?