Don't capture debug screenshot on test.