Skip to content

Commit

Permalink
[6.x] Wait for global loading indicator when creating index pattern (#…
Browse files Browse the repository at this point in the history
…25329) (#25348)

* Wait for global loading indicator when creating index pattern (#25329)

* revert and test again

* add back - test again
  • Loading branch information
liza-mae authored Nov 8, 2018
1 parent 16f0514 commit 8ed79eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/page_objects/settings_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ export function SettingsPageProvider({ getService, getPageObjects }) {
async createIndexPattern(indexPatternName, timefield = '@timestamp') {
await retry.try(async () => {
await this.navigateTo();
await PageObjects.header.waitUntilLoadingHasFinished();
await this.clickKibanaIndices();
await PageObjects.header.waitUntilLoadingHasFinished();
await this.clickOptionalAddNewButton();
await retry.try(async () => {
await this.setIndexPatternField(indexPatternName);
Expand Down

0 comments on commit 8ed79eb

Please sign in to comment.