on develop help sign in
Enable hydration test debug output by default
commitd4c09e0d80b8c7bf1226f2d62e41dec4c49beca8 authorKen Micklas <kmicklas@gmail.com> dateWed 27 Mar 2019, 09:56 (8 years ago) parent96fddec
1 file changed+1−1
reflex-dom-core/test/hydration.hs+1−1
reflex-dom-core/test/hydration.hs+1−1
@@ -135,7 +135,7 @@ main = do
135135 withSeleniumServer $ \selenium -> do
136136 browserPath <- liftIO $ T.strip . T.pack <$> readProcess "which" [ "chromium" ] ""
137137 when (T.null browserPath) $ fail "No browser found"
138− withDebugging <- isJust <$> lookupEnv "DEBUG"
138+ withDebugging <- isNothing <$> lookupEnv "NO_DEBUG"
139139 let wdConfig = WD.defaultConfig { WD.wdPort = fromIntegral $ _selenium_portNumber selenium }
140140 chromeCaps' = WD.getCaps $ chromeConfig browserPath chromeFlags
141141 hspec (tests withDebugging wdConfig [chromeCaps'] selenium) `finally` _selenium_stopServer selenium