summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-10-18 14:26:26 +0200
committerChristophe Simonis <chs@odoo.com>2018-10-18 14:26:26 +0200
commitb66a37d2c55f6bf6fb4902b766a4ef259faab3dc (patch)
tree431346fd78965ae9c0b53253cf39a61fc61599b5 /addons
parente91b16b734b39ad7018d0d2acc5be8b6963c337e (diff)
parent8f8060faae8a26784baa288f7722f322200faf62 (diff)
[MERGE] Backport of chrome headless support
For unknown [1] reason, phantomjs starts to segfault when running qunit tests. Be radical with simply not using phantomjs anymore. [1] Any guidance on tracking the root cause may help...
Diffstat (limited to 'addons')
-rw-r--r--addons/web_tour/static/src/js/tour_manager.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web_tour/static/src/js/tour_manager.js b/addons/web_tour/static/src/js/tour_manager.js
index 599e6c6b2f5..7a63edfe342 100644
--- a/addons/web_tour/static/src/js/tour_manager.js
+++ b/addons/web_tour/static/src/js/tour_manager.js
@@ -437,7 +437,8 @@ return core.Class.extend(mixins.EventDispatcherMixin, ServicesMixin, {
console.log(log);
});
console.log(document.body.outerHTML);
- console.log("error " + error); // phantomJS wait for message starting by error
+ console.error(error); // will be displayed as error info
+ console.log("error"); // phantomJS wait for message starting by error to stop
} else {
console.log(_.str.sprintf("Tour %s succeeded", tour_name));
console.log("ok"); // phantomJS wait for exact message "ok"