From fce624a3fd1bf114a3724f283e0b09a6436b4561 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Tue, 10 Sep 2024 14:27:51 -0700 Subject: [PATCH] Fix Cypress axe test --- packages/eui/src/components/datagrid/data_grid.a11y.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/eui/src/components/datagrid/data_grid.a11y.tsx b/packages/eui/src/components/datagrid/data_grid.a11y.tsx index 925faff7ef8..5580f3cef82 100644 --- a/packages/eui/src/components/datagrid/data_grid.a11y.tsx +++ b/packages/eui/src/components/datagrid/data_grid.a11y.tsx @@ -255,6 +255,7 @@ describe('EuiDataGrid', () => { it('has zero violations on sort and when the columns sorting menu is open', () => { cy.get('.euiDataGridHeaderCell').last().realHover(); + cy.wait(200); // Wait for transition cy.get('button.euiDataGridHeaderCell__button').last().realClick(); cy.get('button.euiListGroupItem__button') .contains('Sort Alma to Debian')