bump index pattern creation timeouts

This commit is contained in:
Joe Fleming 2015-11-05 17:51:19 -07:00
parent b8951da9a0
commit 8c0c38b66a
2 changed files with 5 additions and 5 deletions

View file

@ -48,7 +48,7 @@ define(function (require) {
return settingsPage.removeIndexPattern();
});
bdd.it('should sort ascending, then descending', function pageHeader() {
bdd.it('should sort ascending', function pageHeader() {
return settingsPage.sortBy(col.heading)
.then(function getText() {
return col.selector();

View file

@ -6,7 +6,7 @@ define(function (require) {
var Common = require('./Common');
var defaultTimeout = 5000;
var defaultTimeout = 6000;
var common;
function SettingsPage(remote) {
@ -238,7 +238,7 @@ define(function (require) {
return self.getCreateButton().click();
})
.then(function () {
return common.tryForTime(3000, function () {
return common.tryForTime(defaultTimeout, function () {
return self.remote.getCurrentUrl()
.then(function (currentUrl) {
if (!currentUrl.match(/indices\/.+\?/)) {
@ -255,7 +255,7 @@ define(function (require) {
return self.clickDeletePattern()
.then(function () {
return common.tryForTime(3000, function () {
return common.tryForTime(defaultTimeout, function () {
return self.remote.getAlertText()
.then(function (text) {
alertText = text;
@ -266,7 +266,7 @@ define(function (require) {
return self.remote.acceptAlert();
})
.then(function () {
common.tryForTime(3000, function () {
common.tryForTime(defaultTimeout, function () {
return self.remote.getCurrentUrl()
.then(function (currentUrl) {
if (currentUrl.match(/indices\/.+\?/)) {