icingaweb2/test/frontend/cases/static-page-test.js
Jannis Moßhammer e8d7971531 Add History Api test
Add CasperJS Tests for History API (~80%). Also provides a few
resources like the generic.html site that can be used for more
setups

refs #4303
refs #4315
2013-06-19 13:22:02 +02:00

22 lines
351 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://localhost:12999/empty.html");
casper.then(function() {
this.test.assertTitle("Just an empty page");
});
casper.run(function() {
this.test.done();
});