increase casper load timeout

This commit is contained in:
juliandescottes
2017-05-06 23:43:22 +02:00
committed by Julian Descottes
parent d77889d265
commit 41ef0cd460
14 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,7 @@
/* globals casper, setPiskelFromGrid, isDrawerExpanded, getValue, isChecked,
evalLine, waitForEvent, replaceFunction, setPiskelFromImageSrc */
casper.test.begin('Simple Image import test', 29, function(test) {
casper.test.begin('Double Image import test', 29, function(test) {
test.timeout = test.fail.bind(test, ['Test timed out']);
// Helper to retrieve the text content of the provided selector
@ -194,7 +194,7 @@ casper.test.begin('Simple Image import test', 29, function(test) {
.start(casper.cli.get('baseUrl')+"/?debug&integration-test")
.then(function () {
casper.echo("URL loaded");
casper.waitForSelector('#drawing-canvas-container canvas', onTestStart, test.timeout, 10000);
casper.waitForSelector('#drawing-canvas-container canvas', onTestStart, test.timeout, 20000);
})
.run(function () {
test.done();