A Baseline is a set of images that represent the expected result of a specific test that runs on a specific application on a specific environment. A baseline is created the first time you run a test on a specific environment, and this baseline will be updated whenever you make changes to any of the pages in your app and accept these changes in Applitools Eyes Test Manager.
Any future run of the same test on the same environment will be compared against the baseline.
By default, creating a test on a specific browser for the first time (e.g Firefox) will create a new Baseline, thus running the same test on a different browser (e.g Chrome) will form a new baseline.
The baseline is a unique combination of the following parameters:
- OS
- Viewport Size
- Browser
- Application name
- Test name
This means that by default a new baseline will be created for every combination that was not used before.
Maintenance of baselines can be done using Applitools Eyes Test Manager (using the buttons ‘accept’ and ’reject’). Accepting a step results in updating the baseline to include the actual image while rejecting a step results in updating the baseline to include the image on the left (the baseline image of the current test).