Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
CR

Co-authored-by: Wylie Conlon <[email protected]>
  • Loading branch information
mbondyra and wylieconlon authored Aug 6, 2020
1 parent 0afbb79 commit 2383e5b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x-pack/test/functional/page_objects/lens_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,15 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont
'lns-dimensionTrigger',
dimensionElements[index]
);
const text = await trigger.getVisibleText();
return text;
return await trigger.getVisibleText();
},

/**
* Gets text of the specified datatable header cell
*
* @param index - index of th element in datatable
*/
async getDatatableThText(index = 0) {
async getDatatableHeaderText(index = 0) {
return find
.byCssSelector(
`[data-test-subj="lnsDataTable"] thead th:nth-child(${
Expand Down

0 comments on commit 2383e5b

Please sign in to comment.