die if test files have errors
record screenshot result