mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Add smoke tests on dynamic elements
This commit is contained in:
parent
fdcaad9d39
commit
85fa98aaa9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user