Commit d673f11f authored by Mathieu Giraud's avatar Mathieu Giraud

browser/tests: update

'phantom.args' is removed in latest versions of phantomjs
parent b2efbc8f
var fs = require('fs');
var system = require('system');
var page = require('webpage').create();
page.onConsoleMessage = function(msg) { console.log(msg); };
var curdir = phantom.args[0] || fs.workingDirectory;
var curdir = system.args[1] || fs.workingDirectory;
// curdir = "http://localhost/browser/test/QUnit"
page.open(curdir+"/test_Qunit.html", function() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment