change smoke test timeout to 15 seconds
This commit is contained in:
parent
468b04db86
commit
e211bf7d0b
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue