Don't intercept requests in smoke tests.

This commit is contained in:
Guo Xiang Tan 2018-05-17 16:56:39 +08:00
parent b3981ddc43
commit 3f8e3a6f73

View File

@ -53,9 +53,6 @@ const path = require('path');
page.on('console', msg => console.log(`PAGE LOG: ${msg.text}`));
page.setRequestInterception(true);
page.on('request', req => { return req.continue(); });
page.on('response', resp => {
if (resp.status !== 200) {
console.log("FAILED HTTP REQUEST TO " + resp.url + " Status is: " + resp.status);