Skip to content

Instantly share code, notes, and snippets.

@gabrielschulhof
Last active August 29, 2015 14:17
Show Gist options
  • Save gabrielschulhof/5d0a1bd489ed265ac31d to your computer and use it in GitHub Desktop.
Save gabrielschulhof/5d0a1bd489ed265ac31d to your computer and use it in GitHub Desktop.
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:00 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: fail
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:02 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: success
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:03 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: success
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:04 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: fail
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:06 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: fail
[nix@archie jqm]$ date; node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/bin/phantomjs ./phantom.js
Thu Mar 26 14:22:07 EET 2015
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html
Request: http://localhost/nix/jqm/external/jquery/jquery.js
Request: http://localhost/nix/jqm/js/
Request: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==
Request: http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-redirect.html#/nix/jqm/tests/integration/navigation/sequence/index.html&ui-state=dialog
Status: success
[nix@archie jqm]$
var page = require( "webpage" ).create();
page.onConsoleMessage = function( message ) {
console.log( "From page: " + message );
};
page.onResourceRequested = function( request ) {
console.log( "Request: " + ( request.url || "unknown url" ) );
};
page.open( "http://localhost/nix/jqm/tests/integration/navigation/sequence/sequence-path1-path2-dialog-hash-key-tests.html", function( status ) {
console.log( "Status: " + status );
phantom.exit();
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment