Add smoke tests on dynamic elements

This commit is contained in:
grosbouddha 2013-05-27 00:52:01 +02:00
parent fdcaad9d39
commit 85fa98aaa9

View File

@ -1,7 +1,9 @@
casper
.start(casper.cli.get('baseUrl'))
.then(function () {
this.test.assertExists('#drawing-canvas-container', 'Check if the balance is set');
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();