With text, it might be relatively easy to compare the final states. In case of free-form graphics, that could be a lot harder!
place them over eachother and compare pixels.
Example: https://imgur.com/a/s3LF3cM