diff --git a/CHANGELOG.md b/CHANGELOG.md index 84f29b7b639..718fc17ac39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Converted `EuiFilterButton` to TypeScript ([#2761](https://github.com/elastic/eui/pull/2761)) - Converted `EuiFilterSelectItem` to TypeScript ([#2761](https://github.com/elastic/eui/pull/2761)) - Converted `EuiFieldSearch` to TypeScript ([#2775](https://github.com/elastic/eui/pull/2775)) +- Added `data-test-subj` to the `EuiContextMenuItem` in `EuiTablePagination` ([#2778](https://github.com/elastic/eui/pull/2778)) **Bug fixes** diff --git a/src/components/table/table_pagination/table_pagination.tsx b/src/components/table/table_pagination/table_pagination.tsx index bf83e722257..3e97b246bdb 100644 --- a/src/components/table/table_pagination/table_pagination.tsx +++ b/src/components/table/table_pagination/table_pagination.tsx @@ -75,7 +75,8 @@ export class EuiTablePagination extends Component { onClick={() => { this.closePopover(); onChangeItemsPerPage(itemsPerPageOption); - }}> + }} + data-test-subj={`tablePagination-${itemsPerPageOption}-rows`}>