Change findByCssSelector for index delete to not use tooltip css (and default index button just to be consistent).
This commit is contained in:
parent
a25f4d3780
commit
4fc2facef1
1 changed files with 2 additions and 2 deletions
|
@ -77,14 +77,14 @@ define(function (require) {
|
|||
clickDefaultIndexButton: function clickDefaultIndexButton() {
|
||||
return this.remote
|
||||
.setFindTimeout(defaultTimeout)
|
||||
.findByCssSelector('button[tooltip="Set as default index"')
|
||||
.findByCssSelector('button.btn.btn-warning.ng-scope')
|
||||
.click();
|
||||
},
|
||||
|
||||
clickDeletePattern: function clickDeletePattern() {
|
||||
return this.remote
|
||||
.setFindTimeout(defaultTimeout)
|
||||
.findByCssSelector('button[tooltip="Remove index pattern"')
|
||||
.findByCssSelector('button.btn.btn-danger.ng-scope')
|
||||
.click();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue