[Tests] Updated the tests with thte proper selector

This commit is contained in:
Khalah Jones-Golden 2016-02-09 17:41:28 -04:00
parent b2e0ff17d7
commit 5b1576f0fc

View file

@ -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() : {};
}); });
}); });