mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
remove debugging code, fix missing semi
This commit is contained in:
parent
90be8726ae
commit
1cc39f0ae1
1 changed files with 1 additions and 33 deletions
|
@ -53,22 +53,6 @@ define(function (require) {
|
|||
})
|
||||
.then(function () {
|
||||
return self.getTimeFieldOption(selection);
|
||||
})
|
||||
// DEBUGGING
|
||||
.catch(function (err) {
|
||||
common.debug('selectTimeFieldOption: FAILED to create index pattern');
|
||||
return common.checkForKibanaApp()
|
||||
.then(function (onKibana) {
|
||||
common.debug('onKibana')
|
||||
common.debug(onKibana)
|
||||
})
|
||||
.then(function () {
|
||||
return self.remote.getCurrentUrl();
|
||||
})
|
||||
.then(function (url) {
|
||||
common.debug('FAILED on url ' + url);
|
||||
throw err
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -145,7 +129,7 @@ define(function (require) {
|
|||
var getText = function () {
|
||||
return self.remote.setFindTimeout(defaultTimeout)
|
||||
.findByCssSelector(selector).getVisibleText();
|
||||
}
|
||||
};
|
||||
|
||||
return common.tryForTime(defaultTimeout, function () {
|
||||
return getText();
|
||||
|
@ -276,22 +260,6 @@ define(function (require) {
|
|||
}
|
||||
});
|
||||
});
|
||||
})
|
||||
// DEBUGGING
|
||||
.catch(function (err) {
|
||||
common.debug('createIndexPattern: FAILED to create index pattern');
|
||||
return common.checkForKibanaApp()
|
||||
.then(function (onKibana) {
|
||||
common.debug('onKibana')
|
||||
common.debug(onKibana)
|
||||
})
|
||||
.then(function () {
|
||||
return self.remote.getCurrentUrl();
|
||||
})
|
||||
.then(function (url) {
|
||||
common.debug('FAILED on url ' + url);
|
||||
throw err
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue