[IMP] UI tests: delay retry

bzr revid: ddm@openerp.com-20140109171225-bl495hi6otl84ura
This commit is contained in:
ddm@openerp.com
2014-01-09 18:12:25 +01:00
parent 98d008cfb1
commit b657843403
@@ -70,7 +70,9 @@ function run (test) {
if (status !== 'success') {
tries++;
if (tries < 5) {
page.open(url, openPage);
setTimeout(function () {
page.open(url, openPage);
}, 100);
} else {
console.log('{ "event": "error", "message": "'+url+' failed to load '+tries+' times ('+status+')"}');
phantom.exit(1);