Skip to content

Commit f5b4475

Browse files
committed
Revert "Update focus management expectation in test"
This reverts commit 1d1f3db.
1 parent 1d1f3db commit f5b4475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app-layout/__tests__/split-panel.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ describeEachAppLayout({ sizes: ['desktop'] }, ({ theme }) => {
135135
);
136136
wrapper.findSplitPanelOpenButton()!.click();
137137
wrapper.findSplitPanel()!.findCloseButton()!.click();
138-
expect(wrapper.findSplitPanel()!.findOpenButton()!.getElement()).toHaveFocus();
138+
expect(wrapper.findSplitPanelOpenButton()!.getElement()).toHaveFocus();
139139
});
140140

141141
test(`Moves focus to the slider when focusSplitPanel() is called`, () => {

0 commit comments

Comments
 (0)