Skip to content

Commit

Permalink
Fix failing datagrid test
Browse files Browse the repository at this point in the history
- extra selector specifier needed due to new Emotion wrapper around drag/drop components
  • Loading branch information
cee-chen committed Sep 14, 2023
1 parent aededeb commit 083a4e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/datagrid/data_grid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,7 @@ describe('EuiDataGrid', () => {
let popover = openColumnSelector(component);
expect(
popover
.find('.euiDataGridColumnSelector__item')
.find('div.euiDataGridColumnSelector__item')
.map((item) => item.text())
).toEqual(['A', 'B']);
closeColumnSelector(component);
Expand All @@ -1831,7 +1831,7 @@ describe('EuiDataGrid', () => {
popover = openColumnSelector(component);
expect(
popover
.find('.euiDataGridColumnSelector__item')
.find('div.euiDataGridColumnSelector__item')
.map((item) => item.text())
).toEqual(['A', 'C']);
closeColumnSelector(component);
Expand Down

0 comments on commit 083a4e3

Please sign in to comment.