Applitools’s dashboard allows you to manage your visual tests.
If there are differences spotted between your baseline image and a new test run, it will be identified as unresolved in the dashboard. At which point, you'll go to the dashboard, review the differences, and determine if it's a failure, or if your baseline needs to be updated.
But what about when there is one change to your UI replicated in multiple baseline images?
For example, I have this test batch here.
This is the same test, but it's run on various different configurations.
If I look at one of these, it says that this is failing, and if we zoom in, we can see that the logo is missing on the checkpoint image, but it was there in the baseline. So, our application has changed.
Let's say that this was intentional. We know that we removed the logo from here, and we're fine with this.
What I don't want to do is to have to go across all of these different steps within this test… and it's not just that test.. it's all of these tests in the batch which are complaining about this logo.
So, I don't want to have to go to each one of these and say that it's okay.
That's where the Auto Maintenance comes in.
With Auto Maintenance, you have several options for scope.
You can scope this at all of the steps in the current batch, only tests that you select (so you can go and actually click on the tests that you want if that's the scope that you'd like to do), or you can say the current step only.
So, I'm fine with the steps in the current branch. What we can do is just go ahead and click this check mark to say, "We accept the differences."
Notice this message says it’s searching for all batch steps for similar steps. So, it's going to look through all of these and find them, and this is now done. Now notice that these tests are no longer marked as unresolved but are now marked as passed.
We also get a little notification here that tells you that it automatically accepted 38 steps, and you can see the details.
So, if any of these were accepted, and you think that it shouldn't have been, then you can undo them.
You can undo any ones that you want, by clicking on them and then clicking on this Undo changes to the selected steps.
You can also see the test updates as well from this view.