Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Jan 24, 2024
1 parent 0917953 commit bbe71a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe('getCategoryRequest', () => {
},
aggs: {
examples: {
top_hits: { size: 1, sort: ['the-time-field-name'], _source: 'the-field-name' },
top_hits: { size: 4, sort: ['the-time-field-name'], _source: 'the-field-name' },
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function LogPatternAnalysisPageProvider({ getService, getPageObject }: Ft
const rows = await tableListContainer.findAllByClassName('euiTableRow');
const row = rows[rowIndex];
const cells = await row.findAllByClassName('euiTableRowCell');
return Number(await cells[0].getVisibleText());
return Number(await cells[1].getVisibleText());
},

async assertDiscoverDocCountExists() {
Expand Down

0 comments on commit bbe71a2

Please sign in to comment.