mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Trying to get the travis build to pass
This commit is contained in:
parent
a16e1bab09
commit
54ea427dce
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,4 +13,4 @@ npm-debug.log
|
|||||||
*.stackdump
|
*.stackdump
|
||||||
|
|
||||||
# builds
|
# 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
|
casper
|
||||||
.start(casper.cli.get('baseUrl')+"?debug")
|
.start(casper.cli.get('baseUrl')+"?pack")
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
this.echo(casper.cli.get('baseUrl')+"?pack");
|
||||||
// If there was a JS error after the page load, casper won't perform asserts
|
// 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('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');
|
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
|
||||||
|
|
||||||
})
|
})
|
||||||
.run(function () {
|
.run(function () {
|
||||||
this.test.done();
|
this.test.done();
|
||||||
|
Loading…
Reference in New Issue
Block a user