mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Try to fix another staleElementReference in data table test
This commit is contained in:
parent
583c89012c
commit
a8c1b4e804
3 changed files with 8 additions and 7 deletions
|
@ -46,9 +46,6 @@ bdd.describe('visualize app', function describeIndexTests() {
|
|||
})
|
||||
.then(function clickGo() {
|
||||
return visualizePage.clickGo();
|
||||
})
|
||||
.then(function () {
|
||||
return headerPage.getSpinnerDone();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -3,8 +3,6 @@ define(function (require) {
|
|||
return Object.assign({
|
||||
debug: true,
|
||||
capabilities: {
|
||||
'selenium-version': '2.53.0',
|
||||
// must match URL in tasks/config/downloadSelenium.js
|
||||
'idle-timeout': 99
|
||||
},
|
||||
environments: [{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { common, defaultFindTimeout, remote } from '../';
|
||||
import { common, defaultFindTimeout, remote, headerPage } from '../';
|
||||
|
||||
export default (function () {
|
||||
function VisualizePage() {
|
||||
|
@ -280,7 +280,10 @@ export default (function () {
|
|||
return this.remote
|
||||
.setFindTimeout(defaultFindTimeout)
|
||||
.findByCssSelector('.btn-success')
|
||||
.click();
|
||||
.click()
|
||||
.then(function () {
|
||||
return headerPage.getSpinnerDone();
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
|
@ -354,6 +357,9 @@ export default (function () {
|
|||
.setFindTimeout(defaultFindTimeout)
|
||||
.findByLinkText(vizName)
|
||||
.click();
|
||||
})
|
||||
.then(function () {
|
||||
return headerPage.getSpinnerDone();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue