2013-05-27 02:29:40 +04:00
|
|
|
casper
|
|
|
|
.start(casper.cli.get('baseUrl'))
|
|
|
|
.then(function () {
|
2013-05-27 02:59:24 +04:00
|
|
|
this.wait(5000, function() {
|
2013-05-27 03:04:22 +04:00
|
|
|
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
|
2013-05-27 03:16:41 +04: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-27 02:59:24 +04:00
|
|
|
});
|
2013-05-27 02:29:40 +04:00
|
|
|
})
|
|
|
|
.run(function () {
|
|
|
|
this.test.done();
|
|
|
|
});
|