I have an automated test scenario wherein 2 excel files are getting compared. This is currently being done using ApprovalTests verify method. Excel is being converted into string and is compared.
When this test was run for the first time, it failed as it did not have any approved file. I renamed received file to approved file and executed it again. It passed.
What I am unable to understand it this test always fails while running in entire suite but always passes when run individually and locally.
Has anyone faced this problem before? Any other ways this scenario can be automated?
Thanks in advance!