diff --git a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py index 2c80103fa0420d7fc98fdd25f47fd285cecda2c0..9bd1edd9f1dbe34d6f272c665eb0baa2ba306529 100644 --- a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py @@ -310,6 +310,8 @@ class FunctionalTestRunner: # TODO: here we could take a screenshot and display it in the report # (maybe using data: scheme inside a <img>) raise TimeoutError("Test took more than %s seconds" % self.timeout) + if self.browser.process.poll(): + raise RuntimeError('Test browser is no longer running.') except: print("ERP5TypeFunctionalTestCase.test Exception: %r" % (sys.exc_info(),)) raise