mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Tests] Updated the tests with thte proper selector
This commit is contained in:
parent
b2e0ff17d7
commit
5b1576f0fc
1 changed files with 2 additions and 2 deletions
|
@ -154,11 +154,11 @@ define(function (require) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
return self.remote.setFindTimeout(defaultTimeout)
|
return self.remote.setFindTimeout(defaultTimeout)
|
||||||
.findByCssSelector('.app-wrapper > .application')
|
.findByCssSelector('.app-wrapper .application')
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return self.runScript(function () {
|
return self.runScript(function () {
|
||||||
var $ = window.$;
|
var $ = window.$;
|
||||||
var $scope = $('.app-wrapper > .application').scope();
|
var $scope = $('.app-wrapper .application').scope();
|
||||||
return $scope ? $scope.chrome.getApp() : {};
|
return $scope ? $scope.chrome.getApp() : {};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue