Skip to content

Commit

Permalink
fix: use kebab-case-ids in autosuggest esc test (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-smith-tcril authored Oct 13, 2023
1 parent 34f055a commit 9face09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/tests/FormAutosuggest.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ describe('controlled behavior', () => {

it('check focus on input after esc', () => {
const { getByTestId } = render(<FormAutosuggestTestComponent />);
const input = getByTestId('autosuggest_textbox_input');
const dropdownBtn = getByTestId('autosuggest_iconbutton');
const input = getByTestId('autosuggest-textbox-input');
const dropdownBtn = getByTestId('autosuggest-iconbutton');
userEvent.click(dropdownBtn);

userEvent.keyboard('{esc}');
Expand Down

0 comments on commit 9face09

Please sign in to comment.