From 6f0e1709f3d51fdf2a9b858737adfab7127e61d5 Mon Sep 17 00:00:00 2001 From: Sean Li Date: Wed, 21 Feb 2024 16:09:31 -0800 Subject: [PATCH] fixing flaky panels test Signed-off-by: Sean Li --- .cypress/integration/panels_test/panels.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cypress/integration/panels_test/panels.spec.ts b/.cypress/integration/panels_test/panels.spec.ts index 511d5080ea..6bd6abc67d 100644 --- a/.cypress/integration/panels_test/panels.spec.ts +++ b/.cypress/integration/panels_test/panels.spec.ts @@ -384,7 +384,7 @@ describe('Panels testing with Sample Data', { defaultCommandTimeout: 10000 }, () .trigger('mouseover') .click({ force: true }) .focus() - .type(PPL_FILTER); + .type(PPL_FILTER, { force: true, delay: 500 }); cy.get('button[data-test-subj="superDatePickerApplyTimeButton"]').click({ force: true }); cy.get('.euiButton__text').contains('Refresh').trigger('mouseover').click(); cy.get('.xtick').should('contain', 'Munich Airport');