From 7d85fa585e90d46113c7e273a304ec9bb458b7b1 Mon Sep 17 00:00:00 2001 From: Sagiv Dayan Date: Mon, 13 Jan 2025 16:07:13 +0200 Subject: [PATCH] change tree-focus board --- packages/components/src/tree/boards/tree-focus.board.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/tree/boards/tree-focus.board.tsx b/packages/components/src/tree/boards/tree-focus.board.tsx index 31076320..e496d720 100644 --- a/packages/components/src/tree/boards/tree-focus.board.tsx +++ b/packages/components/src/tree/boards/tree-focus.board.tsx @@ -54,10 +54,10 @@ export default createBoard({ focusControl={focusControl} /> - ); @@ -74,7 +74,7 @@ export default createBoard({ expectElementStyle('[data-id="2"]', FOCUSED_STYLE), // blue (focused) clickAction('#clear'), expectElementStyle('[data-id="2"]', DEFAULT_STYLE), // not focused - clickAction('#select'), + clickAction('#focus'), focusAction('#LIST'), keyDownAction('[data-id="5"]', KeyCodes.ArrowDown, { which: 40 }), expectElementStyle('[data-id="6"]', FOCUSED_STYLE), // blue (focused)