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:
parent
be767ee983
commit
1dbd371540
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user