From f3aa4bd8857b0abe18d145dcc05333dd5fb38650 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Wed, 8 Jan 2020 09:28:31 -0700 Subject: [PATCH] Updated a functional test's selector; added (BSD-3-Clause AND Apache-2.0) to license checker whitelist --- src/dev/license_checker/config.ts | 1 + test/functional/page_objects/visualize_editor_page.ts | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index a4aa3474c076..bd084767a723 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -23,6 +23,7 @@ export const LICENSE_WHITELIST = [ 'Elastic-License', '(BSD-2-Clause OR MIT OR Apache-2.0)', '(BSD-2-Clause OR MIT)', + '(BSD-3-Clause AND Apache-2.0)', '(GPL-2.0 OR MIT)', '(MIT AND CC-BY-3.0)', '(MIT AND Zlib)', diff --git a/test/functional/page_objects/visualize_editor_page.ts b/test/functional/page_objects/visualize_editor_page.ts index 7e512975356f..30e13d551fa2 100644 --- a/test/functional/page_objects/visualize_editor_page.ts +++ b/test/functional/page_objects/visualize_editor_page.ts @@ -97,8 +97,9 @@ export function VisualizeEditorPageProvider({ getService, getPageObjects }: FtrP } public async clickSplitDirection(direction: string) { - const control = await testSubjects.find('visEditorSplitBy'); - const radioBtn = await control.findByCssSelector(`[title="${direction}"]`); + const radioBtn = await find.byCssSelector( + `[data-test-subj="visEditorSplitBy"][title="${direction}"]` + ); await radioBtn.click(); }