From a1c66784f0b74db9a44bd17613b1d9279e27bf66 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 5 Sep 2023 11:12:16 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- test/functional/services/dashboard/panel_settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/services/dashboard/panel_settings.ts b/test/functional/services/dashboard/panel_settings.ts index 122a2dc1080f0..6bd33d93aff0b 100644 --- a/test/functional/services/dashboard/panel_settings.ts +++ b/test/functional/services/dashboard/panel_settings.ts @@ -59,7 +59,7 @@ export function DashboardCustomizePanelProvider({ getService, getPageObject }: F public async clickToggleQuickMenuButton(open?: boolean) { log.debug('clickToggleQuickMenuButton'); const button = await this.findToggleQuickMenuButton(); - if (typeof open === 'undefined' || open !== await button.isSelected()) { + if (typeof open === 'undefined' || open !== (await button.isSelected())) { await button.click(); } }