clean up header and settings pages
This commit is contained in:
parent
d67cd2abc4
commit
ab165af459
2 changed files with 1 additions and 15 deletions
|
@ -14,13 +14,12 @@ define(function (require) {
|
|||
return this.remote
|
||||
.setFindTimeout(5000)
|
||||
.findByXpath('/html/body/div[2]/nav/div[2]/ul[1]/li[3]/a')
|
||||
// .findByXpath('//a[@ng-href=\'#/discover.*\']')
|
||||
.click();
|
||||
},
|
||||
clickVisualize: function () {
|
||||
return this.remote
|
||||
.setFindTimeout(5000)
|
||||
.findByXpath('//a[@href=\'#/visualize*\']')
|
||||
.findByXpath('.//*[@id=\'kibana-body\']/div[2]/nav/div[2]/ul[1]/li[4]/a')
|
||||
.click();
|
||||
},
|
||||
clickDashboard: function () {
|
||||
|
@ -32,21 +31,9 @@ define(function (require) {
|
|||
clickSettings: function () {
|
||||
return this.remote
|
||||
.setFindTimeout(15000)
|
||||
//.findByXpath('/html/body/div[2]/nav/div[2]/ul[1]/li[6]/a')
|
||||
.findByXpath('//a[@ng-href=\'#/settings\']')
|
||||
.click();
|
||||
}
|
||||
|
||||
// ,
|
||||
|
||||
|
||||
// getCreateButton: function () {
|
||||
// return this.remote
|
||||
// .findByCssSelector('.btn');
|
||||
// }
|
||||
|
||||
|
||||
// …additional page interaction tasks…
|
||||
};
|
||||
|
||||
return HeaderPage;
|
||||
|
|
|
@ -51,7 +51,6 @@ define(function (require) {
|
|||
},
|
||||
|
||||
getTimeFieldOption: function (selection) {
|
||||
console.log('selection = ' + selection);
|
||||
return this.remote
|
||||
.setFindTimeout(10000)
|
||||
.findByXpath(
|
||||
|
|
Loading…
Reference in a new issue