From 12b5b7331257c9bf87f150286b78d48c5b899ba3 Mon Sep 17 00:00:00 2001 From: ddm Date: Mon, 30 Dec 2013 13:32:29 +0100 Subject: [PATCH] [DEBUG] More debug info for UI tests bzr revid: ddm@openerp.com-20131230123229-jf4vfkha16l4poct --- addons/website/tests/ui_suite/simple_dom_test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/website/tests/ui_suite/simple_dom_test.js b/addons/website/tests/ui_suite/simple_dom_test.js index 33243b0c303..9d96b9cfd86 100644 --- a/addons/website/tests/ui_suite/simple_dom_test.js +++ b/addons/website/tests/ui_suite/simple_dom_test.js @@ -15,9 +15,10 @@ testRunner.run(function simpleDomTest (page) { return { href: window.location.href, jQueryFound: (typeof window.$ === 'function'), - openerpFound: (typeof window.openerp === 'object') + openerpFound: (typeof window.openerp === 'object'), + websiteFound: (typeof window.openerp.website === 'object'), } }); - return status.href+" with jQuery ("+status.jQueryFound+") and openerp (" +status.openerpFound+ ")"; + return status.href+" - jQuery: "+status.jQueryFound+" - openerp: " +status.openerpFound+ " - website: "+status.websiteFound; }); }); \ No newline at end of file