All Downloads are FREE. Search and download functionalities are using the official Maven repository.

t-helper.3.3.1.source-code.phantomjs-bootstrap.js Maven / Gradle / Ivy

There is a newer version: 3.3.2.2
Show newest version
var system = require('system');
var browserId = system.args[1];
var testServer = system.args[2];

var iframe = document.createElement('iframe');
document.body.appendChild(iframe);


function reportResultAndRunNextTest(result, stacktrace){
	console.error('reporting test result');
	iframe.src = testServer + 'getNextTest' + 
			'?browserId=' + browserId + 
			'&result=' + result + 
			'&location=' + stacktrace + 
			'&rand=' + Math.random();
}

function runFirstTest(){
	reportResultAndRunNextTest("OK");
}

function startingTest(){
	// empty for phantomjs
}

runFirstTest();




© 2015 - 2025 Weber Informatics LLC | Privacy Policy