From 7e3b70e78a0e8a028a0e58ca92e7192f25cea46d Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 3 Dec 2024 07:18:56 +1100 Subject: [PATCH] [8.x] [Unified Data Table] Stop passing data grid density as `key` (#202390) (#202563) # Backport This will backport the following commits from `main` to `8.x`: - [[Unified Data Table] Stop passing data grid density as `key` (#202390)](https://github.com/elastic/kibana/pull/202390) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Davis McPhee --- .../kbn-unified-data-table/src/components/data_table.tsx | 2 -- .../apps/discover/group2_data_grid3/_data_grid_density.ts | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/kbn-unified-data-table/src/components/data_table.tsx b/packages/kbn-unified-data-table/src/components/data_table.tsx index 7d57188dd1010..7f4297404c4e5 100644 --- a/packages/kbn-unified-data-table/src/components/data_table.tsx +++ b/packages/kbn-unified-data-table/src/components/data_table.tsx @@ -1155,8 +1155,6 @@ export const UnifiedDataTable = ({ /> ) : ( { await dataGrid.clickGridSettings(); await dataGrid.changeDensityValue('Expanded'); - await dataGrid.clickGridSettings(); expect(await dataGrid.getCurrentDensityValue()).to.be('Expanded'); await browser.refresh();