change smoke test timeout to 15 seconds

This commit is contained in:
Régis Hanol 2015-09-16 12:18:48 +02:00
parent 468b04db86
commit e211bf7d0b
1 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ if (system.args.length !== 2) {
phantom.exit(1);
}
var TIMEOUT = 10000;
var TIMEOUT = 15000;
var page = require("webpage").create();
page.viewportSize = {
@ -22,8 +22,8 @@ page.viewportSize = {
page.onInitialized = function() {
page.evaluate(function() {
localStorage["disableLocalStorage"] = true;
})
}
});
};
// page.onConsoleMessage = function(msg) {
// console.log(msg);
@ -60,19 +60,19 @@ var actions = [];
var test = function(desc, fn) {
actions.push({ test: fn, desc: desc });
}
};
var exec = function(desc, fn) {
actions.push({ exec: fn, desc: desc });
}
};
var execAsync = function(desc, delay, fn) {
actions.push({ execAsync: fn, delay: delay, desc: desc });
}
};
var upload = function(input, path) {
actions.push({ upload: path, input: input });
}
};
// var screenshot = function(filename) {
// actions.push({ screenshot: filename });