[REV] website: ui_test_runner log

bzr revid: chm@openerp.com-20140122100403-6w2pek1cbmhhra0j
This commit is contained in:
Christophe Matthieu 2014-01-22 11:04:03 +01:00
parent dcb6ccd711
commit e6c54ca924
1 changed files with 1 additions and 2 deletions

View 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);