icingaweb2/test/frontend/cases/static-page-test.js
Jannis Moßhammer a1298e6edd Add dummy test case for casperjs
The dummy test only checks whether our build server has the correct
title when called. Also the i2w-config.js toolkit is provided
to help testing correct paths

refs #4213
2013-06-06 16:05:55 +02:00

20 lines
374 B
JavaScript

/**
*
* This test simply checks the icinga build server and tests
* if the title is correct
**/
i2w = require('./i2w-config');
var casper = i2w.getTestEnv();
casper.start("http://build.icinga.org/jenkins");
casper.then(function() {
this.test.assertTitle("icinga-web test [Jenkins]", "The jenkins page");
});
casper.run(function() {
this.test.done();
});