Trying to get the travis build to pass
This commit is contained in:
parent
a16e1bab09
commit
54ea427dce
4 changed files with 17576 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -13,4 +13,4 @@ npm-debug.log
|
|||
*.stackdump
|
||||
|
||||
# builds
|
||||
build
|
||||
# build
|
7
build/piskel-packaged-min.js
vendored
Normal file
7
build/piskel-packaged-min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17566
build/piskel-packaged.js
Normal file
17566
build/piskel-packaged.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,11 @@
|
|||
casper
|
||||
.start(casper.cli.get('baseUrl')+"?debug")
|
||||
.start(casper.cli.get('baseUrl')+"?pack")
|
||||
.then(function () {
|
||||
this.echo(casper.cli.get('baseUrl')+"?pack");
|
||||
// If there was a JS error after the page load, casper won't perform asserts
|
||||
this.test.assertExists('html', 'Casper JS cannot assert DOM elements. A JS error has probably occured.');
|
||||
|
||||
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
|
||||
|
||||
})
|
||||
.run(function () {
|
||||
this.test.done();
|
||||
|
|
Loading…
Reference in a new issue