mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
Don't intercept requests in smoke tests.
This commit is contained in:
parent
b3981ddc43
commit
3f8e3a6f73
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user