mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Updating list name in index.html as well. Also fixed indentation in smoke_test.js
This commit is contained in:
parent
750f2fb7b5
commit
2e3ddd6ed1
|
@ -22,7 +22,7 @@
|
||||||
scriptIndex ++;
|
scriptIndex ++;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
loadScript("script-load-list.js", "loadNextScript()");
|
loadScript("piskel-script-list.js", "loadNextScript()");
|
||||||
} else {
|
} else {
|
||||||
var script;
|
var script;
|
||||||
if (window.location.href.indexOf("pack") != -1) {
|
if (window.location.href.indexOf("pack") != -1) {
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
casper
|
casper
|
||||||
.start(casper.cli.get('baseUrl')+"?debug")
|
.start(casper.cli.get('baseUrl')+"?debug")
|
||||||
.then(function () {
|
.then(function () {
|
||||||
this.wait(3000);
|
this.wait(3000);
|
||||||
})
|
})
|
||||||
.then(function () {
|
.then(function () {
|
||||||
this.echo(casper.cli.get('baseUrl')+"?debug");
|
this.echo(casper.cli.get('baseUrl')+"?debug");
|
||||||
// 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