diff --git a/product/ERP5Type/tests/prepareFunctionalTest.py b/product/ERP5Type/tests/prepareFunctionalTest.py index 8b62d1c7350983822cf65794d456df2b87ab526a..49931b058fc1b35bd74ada74e05283e6dbaf6edc 100755 --- a/product/ERP5Type/tests/prepareFunctionalTest.py +++ b/product/ERP5Type/tests/prepareFunctionalTest.py @@ -28,6 +28,7 @@ import os import unittest +import transaction from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase @@ -46,6 +47,12 @@ class FunctionalTestRunner(FunctionalTestRunnerBase): os.environ['erp5_tests_portal_id'] = 'erp5_portal' class TestZelenium(ERP5TypeTestCase): + def afterSetUp(self): + # create browser_id_manager + if not "browser_id_manager" in self.portal.objectIds(): + self.portal.manage_addProduct['Sessions'].constructBrowserIdManager() + transaction.commit() + def getBusinessTemplateList(self): """ Return the list of business templates.