Running tests on multiple environments
Last Updated -
This article will explain: How to use Applitools Eyes to test your app on multiple operating system browsers and screen resolutions.
When running a test with Applitools Eyes, the first run of the test will generate a baseline (expected result) that you will need to review and approve via the Applitools Eyes Tests Dashboard. After approving the baseline, consequent runs of the same test will be compared against this baseline, and any changes that you make in the test result (adding ignore regions, etc.) will update this baseline.
Applitools Eyes makes it easy to test your app on several different operating systems, browsers and viewport sizes by automatically creating a new baseline whenever you run your test for the first time on a new operating system, browser or viewport size. All you will need to do is make sure to use the same test_name and app_name parameters in the eyes.open method and once you execute your test Applitools Eyes will automatically generate the new baseline.
At this point, Applitools Eyes will automatically save the preliminary test run as the baseline. We recommend that you still go over the results and evaluate them. From this point, whenever you run these tests again, each test will be compared against its own baseline.
One of the main benefits of Applitools Eyes, is that changes that you make on one baseline (ie. adding an ignore region on one of the steps in Chrome browser) will automatically be copied to other new environments baselines, so you will not need to spend significant efforts on manually managing multiple baselines.
Did you find this article helpful?