Skip to content

Commit

Permalink
Have to click save after resetting advanced setting to default (elast…
Browse files Browse the repository at this point in the history
…ic#59216) (elastic#59339)

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
Lee Drengenberg and elasticmachine authored Mar 4, 2020
1 parent 7f6ce76 commit c833b42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/page_objects/settings_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ export function SettingsPageProvider({ getService, getPageObjects }: FtrProvider
async clearAdvancedSettings(propertyName: string) {
await testSubjects.click(`advancedSetting-resetField-${propertyName}`);
await PageObjects.header.waitUntilLoadingHasFinished();
await testSubjects.click(`advancedSetting-saveButton`);
await PageObjects.header.waitUntilLoadingHasFinished();
}

async setAdvancedSettingsSelect(propertyName: string, propertyValue: string) {
Expand Down

0 comments on commit c833b42

Please sign in to comment.