From 1dbd3715400d7513f782e6cd0d49265bd35fd693 Mon Sep 17 00:00:00 2001 From: Ian Oxley Date: Tue, 11 Sep 2012 14:18:03 +0100 Subject: [PATCH] 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 --- examples/run-jasmine.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/run-jasmine.js b/examples/run-jasmine.js index 39923fd9a..8cca79212 100644 --- a/examples/run-jasmine.js +++ b/examples/run-jasmine.js @@ -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();