1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 04:46:09 +03:00

Added 'tests passed' message.

If all tests pass, a message indicating this is output to the console.

http://code.google.com/p/phantomjs/issues/detail?id=792
This commit is contained in:
Ian Oxley 2012-09-11 14:18:03 +01:00 committed by Ariya Hidayat
parent be767ee983
commit 1dbd371540

View File

@ -74,6 +74,8 @@ page.open(system.args[1], function(status){
console.log(msg.innerText);
console.log('');
}
} else {
console.log(document.body.querySelector('.alert > .passingAlert.bar').innerText);
}
});
phantom.exit();