Please find below the explanation of the following Baseline saving methods:
setSaveNewTests(true) - Default: True:
The above function only applies on new tests - when a new test is run (according to the parameters that define the baseline), the new baseline will automatically be saved. If you set this method to False, you will be able to review your new baseline before saving it.
setSaveNewTests(true) - Default: True:
The above function only applies on new tests - when a new test is run (according to the parameters that define the baseline), the new baseline will automatically be saved. If you set this method to False, you will be able to review your new baseline before saving it.
Note: the following message: “please approve new baseline…” will appear whenever your test fails.
setSaveFailedTests(true) - Default: False
The above function only applies to failed tests, and saves them automatically as baselines. This feature can be used for maintenance, and allows you to avoid the previous baseline, and set the current screens as the new one automatically.
The above function only applies to failed tests, and saves them automatically as baselines. This feature can be used for maintenance, and allows you to avoid the previous baseline, and set the current screens as the new one automatically.
Note: It's important to understand that this feature holds a risk since the changes are not being reviewed before they become your new baseline, and might include visual bugs.