diff --git a/openerp/tests/phantomtest.js b/openerp/tests/phantomtest.js index 84f886c5dbb..49da52e07d9 100644 --- a/openerp/tests/phantomtest.js +++ b/openerp/tests/phantomtest.js @@ -116,6 +116,8 @@ function PhantomTest() { phantom.exit(1); } else { console.log('loaded', url, status); + // clear localstorage leftovers + self.page.evaluate(function () { localStorage.clear() }); // process ready waitFor(function() { console.log("PhantomTest.run: wait for condition:", ready);