2013-05-26 22:29:40 +00:00
|
|
|
casper
|
|
|
|
.start(casper.cli.get('baseUrl'))
|
|
|
|
.then(function () {
|
2013-05-26 22:59:24 +00:00
|
|
|
this.wait(5000, function() {
|
2013-05-26 23:04:22 +00:00
|
|
|
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
|
2013-05-26 23:16:41 +00:00
|
|
|
//this.test.assertExists('#preview-list .preview-tile', 'Check if first frame is created');
|
|
|
|
//this.test.assertExists('#preview-canvas-container canvas', 'Check if animation preview canvas is created');
|
2013-05-26 22:59:24 +00:00
|
|
|
});
|
2013-05-26 22:29:40 +00:00
|
|
|
})
|
|
|
|
.run(function () {
|
|
|
|
this.test.done();
|
|
|
|
});
|