mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Don't intercept requests in smoke tests.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user