longer element and url timeouts
This commit is contained in:
parent
1431d28852
commit
178f53fabf
2 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ define(function (require) {
|
||||||
|
|
||||||
navigateToApp: function (appName, testStatusPage) {
|
navigateToApp: function (appName, testStatusPage) {
|
||||||
var self = this;
|
var self = this;
|
||||||
var urlTimeout = 10000;
|
var urlTimeout = 60000;
|
||||||
var appUrl = getUrl(config.servers.kibana, config.apps[appName]);
|
var appUrl = getUrl(config.servers.kibana, config.apps[appName]);
|
||||||
|
|
||||||
var doNavigation = function (url) {
|
var doNavigation = function (url) {
|
||||||
|
@ -68,7 +68,7 @@ define(function (require) {
|
||||||
|
|
||||||
runScript: function (fn, timeout) {
|
runScript: function (fn, timeout) {
|
||||||
var self = this;
|
var self = this;
|
||||||
timeout = timeout || 2000;
|
timeout = timeout || 5000;
|
||||||
|
|
||||||
// wait for deps on window before running script
|
// wait for deps on window before running script
|
||||||
return self.remote
|
return self.remote
|
||||||
|
@ -91,7 +91,7 @@ define(function (require) {
|
||||||
|
|
||||||
getApp: function () {
|
getApp: function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
var loadTimeout = 5000;
|
var loadTimeout = 10000;
|
||||||
|
|
||||||
return self.tryForTime(3000, function () {
|
return self.tryForTime(3000, function () {
|
||||||
return self.remote.setFindTimeout(loadTimeout)
|
return self.remote.setFindTimeout(loadTimeout)
|
||||||
|
|
|
@ -7,7 +7,7 @@ define(function (require) {
|
||||||
var Promise = require('bluebird');
|
var Promise = require('bluebird');
|
||||||
var Common = require('./Common');
|
var Common = require('./Common');
|
||||||
|
|
||||||
var defaultTimeout = 5000;
|
var defaultTimeout = 30000;
|
||||||
var common;
|
var common;
|
||||||
|
|
||||||
function SettingsPage(remote) {
|
function SettingsPage(remote) {
|
||||||
|
|
Loading…
Reference in a new issue