Currently the tests are not failing when there is an error in the page, which can be fixed with -> https://github.com/puppeteer/puppeteer/issues/1030#issuecomment-336495331