Skip to content

Commit

Permalink
[Observability] [Timelines] Fix tests and types (elastic#110758)
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonhultgren committed Sep 3, 2021
1 parent 1ceb8a1 commit 003150b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/observability/alerts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
it('Renders the correct number of cells', async () => {
// NOTE: This isn't ideal, but EuiDataGrid doesn't really have the concept of "rows"
const cells = await testSubjects.findAll('dataGridRowCell');
expect(cells.length).to.be(54);
expect(cells.length).to.be(10);
});
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const AppRoot = React.memo(
footerText: 'Events',
filters: [],
hasAlertsCrudPermissions,
itemsPerPage: 50,
itemsPerPageOptions: [1, 2, 3],
loadingText: 'Loading events',
renderCellValue: () => <div data-test-subj="timeline-wrapper">test</div>,
Expand Down

0 comments on commit 003150b

Please sign in to comment.