From c833b424b34138a9c8397da490ca2cb425c38b54 Mon Sep 17 00:00:00 2001 From: Lee Drengenberg Date: Wed, 4 Mar 2020 14:04:54 -0600 Subject: [PATCH] Have to click save after resetting advanced setting to default (#59216) (#59339) Co-authored-by: Elastic Machine Co-authored-by: Elastic Machine --- test/functional/page_objects/settings_page.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/page_objects/settings_page.ts b/test/functional/page_objects/settings_page.ts index ff340c6b0abcd..a0f503eb27e68 100644 --- a/test/functional/page_objects/settings_page.ts +++ b/test/functional/page_objects/settings_page.ts @@ -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) {