Skip to content

Commit

Permalink
Updated a functional test's selector; added (BSD-3-Clause AND Apache-…
Browse files Browse the repository at this point in the history
…2.0) to license checker whitelist
  • Loading branch information
chandlerprall committed Jan 8, 2020
1 parent 9cd8032 commit f3aa4bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand Down
5 changes: 3 additions & 2 deletions test/functional/page_objects/visualize_editor_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit f3aa4bd

Please sign in to comment.