DEV: 302 status is normal in smoke test

DEV: 302 status is normal in smoke test

Login can redirect there are potentially other cases

diff --git a/test/smoke_test.js b/test/smoke_test.js
index fda2b89..5eddf69 100644
--- a/test/smoke_test.js
+++ b/test/smoke_test.js
@@ -70,7 +70,7 @@ const path = require("path");
   page.on("console", msg => console.log(`PAGE LOG: ${msg.text()}`));
 
   page.on("response", resp => {
-    if (resp.status() !== 200) {
+    if (resp.status() !== 200 && resp.status() !== 302) {
       console.log(
         "FAILED HTTP REQUEST TO " + resp.url() + " Status is: " + resp.status()
       );

GitHub sha: 62f42848

1 Like