mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
properly return promise
This commit is contained in:
parent
fe10e6f916
commit
ade13d05ec
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ define(function (require) {
|
|||
getApp: function () {
|
||||
var self = this;
|
||||
|
||||
return self.tryForTime(5000, function () {
|
||||
self.remote.findByCssSelector('.content > .application');
|
||||
return self.tryForTime(3000, function () {
|
||||
return self.remote.findByCssSelector('.content > .application');
|
||||
})
|
||||
.then(function () {
|
||||
return self.runScript(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue