From 506eb0531c8fd4c70e145f1690ec3a805e959a03 Mon Sep 17 00:00:00 2001 From: "anna.shakhova" <68295572+anna-shakhova@users.noreply.github.com> Date: Tue, 21 Jul 2026 11:00:41 +0200 Subject: [PATCH] Grids: stabilize kbn focus and selection tests --- .../keyboardNavigation.functional.ts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/dataGrid/common/keyboardNavigation/keyboardNavigation.functional.ts b/e2e/testcafe-devextreme/tests/dataGrid/common/keyboardNavigation/keyboardNavigation.functional.ts index 92dfb66eb013..e1f5d1cc355b 100644 --- a/e2e/testcafe-devextreme/tests/dataGrid/common/keyboardNavigation/keyboardNavigation.functional.ts +++ b/e2e/testcafe-devextreme/tests/dataGrid/common/keyboardNavigation/keyboardNavigation.functional.ts @@ -6795,7 +6795,11 @@ test('Focus should be set to the grid to allow keyboard navigation when the focu // act await t .click(searchPanel.input) - .pressKey('tab tab tab tab tab'); + .pressKey('tab') + .pressKey('tab') + .pressKey('tab') + .pressKey('tab') + .pressKey('tab'); // assert await t.expect(secondIDCell.isFocused).ok(); @@ -6811,13 +6815,18 @@ test('Focus should be set to the grid to allow keyboard navigation when the focu .notOk('focus should be on the search panel'); // act - await t.pressKey('tab tab tab'); + await t + .pressKey('tab') + .pressKey('tab') + .pressKey('tab'); // assert await t.expect(secondIDCell.isFocused).ok(); // act - await t.pressKey('tab tab'); + await t + .pressKey('tab') + .pressKey('tab'); // assert await t.expect(button.isFocused).ok();