Updating tests to display the first error, not when just closing the browser and increasing number of attempts