Cross-browser validation is an important part of quality. In mabl, all tests run on Chrome by default. You can also configure tests to run on Firefox, Safari (WebKit) and Edge to ensure your website is working as expected across different browsers.
This article explains how to configure browser settings for test execution:
Plan runs
On the plans page, open the plan details page for the plan you would like to configure. Then take the following steps:
- Click on the pencil icon in the top left corner to open the edit plan page.
- Scroll down to Device settings.
- Choose which browsers you would like to run the plan on.
- Click the Save plan button at the bottom of the page.
Configuring browser settings for a plan
Adding browsers will increase runs
When a plan or test is configured to run on multiple browsers, the number of test runs increases proportionately.
For example, if you configure a plan with eight tests to run on three different browsers, each plan run will trigger up to 24 tests.
Plan stage overrides
To override the default browser configuration for a plan for a specific group of tests, take the following steps:
- Add the tests to a plan stage.
- Click on the pencil icon to edit the plan stage options.
Accessing the stage options modal
- Toggle on Override device settings for this stage.
- Select the browser(s) for tests in this stage.
Override browser settings in a plan stage
Ad hoc test runs
You can also configure browser settings for ad hoc cloud runs. Open the test details page for the test you would like to run and take the following steps:
- Click on the Run test button to open the ad hoc run panel.
- Select the Cloud run tab.
- Choose the browsers you would like to run the test on.
- Add any other configurations as needed.
- Click Start run to trigger the test run(s).
Configuring browser settings for an ad-hoc run