[REV] website: ui_test_runner log
authorChristophe Matthieu <chm@openerp.com>
Wed, 22 Jan 2014 10:04:03 +0000 (11:04 +0100)
committerChristophe Matthieu <chm@openerp.com>
Wed, 22 Jan 2014 10:04:03 +0000 (11:04 +0100)
bzr revid: chm@openerp.com-20140122100403-6w2pek1cbmhhra0j

addons/website/tests/ui_suite/ui_test_runner.js

index e8f38eb..3ba8cc3 100644 (file)
@@ -9,8 +9,7 @@ function waitFor (ready, callback, timeout, timeoutMessageCallback) {
             if(!condition) {
                 var message = timeoutMessageCallback ? timeoutMessageCallback() : "Timeout after "+timeout+" ms";
                 console.log('{ "event": "error", "message": "'+message+'" }');
-                var json = { "event": "error", "message": "Waiting for...\n"+ready };
-                console.log(JSON.stringify(json));
+                console.log("Waiting for...\n"+ready);
                 phantom.exit(1);
             } else {
                 clearInterval(interval);