Skip to content

Commit

Permalink
test: use focus() in MSCB tests to apply caret-color CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Jan 28, 2025
1 parent a2e849c commit 4d38c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('multi-select-combo-box', () => {
});

it('focused chip', async () => {
element.inputElement.focus();
element.focus();
await sendKeys({ press: 'ArrowLeft' });
await visualDiff(div, 'selected-focused-chip');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('multi-select-combo-box', () => {
});

it('focused chip', async () => {
element.inputElement.focus();
element.focus();
await sendKeys({ press: 'ArrowLeft' });
await visualDiff(div, 'selected-focused-chip');
});
Expand Down

0 comments on commit 4d38c5f

Please sign in to comment.