piskel/tests/integration/casperjs/smoke_test.js
2013-05-27 00:52:01 +02:00

10 lines
No EOL
412 B
JavaScript

casper
.start(casper.cli.get('baseUrl'))
.then(function () {
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
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');
})
.run(function () {
this.test.done();
});