Skip to content

Commit

Permalink
test: add global focusable to date-picker keyboard tests
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Feb 11, 2025
1 parent 0f54578 commit 53b5a4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/date-picker/test/keyboard-input.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ describe('keyboard', () => {
}

beforeEach(() => {
datePicker = fixtureSync('<vaadin-date-picker></vaadin-date-picker>');
datePicker = fixtureSync(
`<div>
<vaadin-date-picker></vaadin-date-picker>
<input id="last-global-focusable" />
</div>`,
).firstElementChild;
input = datePicker.inputElement;
input.focus();
});
Expand Down

0 comments on commit 53b5a4e

Please sign in to comment.