mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-11-07 14:40:07 +01:00
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
22 lines
351 B
JavaScript
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();
|
|
});
|
|
|