Improve output for testpage failures
Background
When our integration tests run, failures are reported in the console. Unfortunately the output is a little confusing. This leads to problems being missed.
For example see the output for #11 (closed) which I missed for this reason:
1) Firefox (latest)
test pages:
TimeoutError: Anonymous iframe document.write() - Test case
Wait timed out after 1091ms
The timeout message implies that the test was too slow and so GitLab gave up with it, when in actuality it means that the screenshots didn't match. Other aspects of the output is confusing too. Here's what I suggest instead:
1) Firefox (latest)
Test pages:
Error: Screenshots don't match
Test case: Anonymous iframe document.write() - Test case
https://testpages.adblockplus.org/en/circumvention/anoniframe-documentwrite
What to change
Improve the output when our integration tests fail, so it's clear to someone not familiar with our test infrastructure what happened.
Edited by Dave Vandyke