diff --git a/src/components/select/select.test.ts b/src/components/select/select.test.ts index ec5bacdf..015dd4bd 100644 --- a/src/components/select/select.test.ts +++ b/src/components/select/select.test.ts @@ -156,6 +156,7 @@ describe('', () => { await el.updateComplete; await sendKeys({ press: 'ArrowDown' }); // move selection to the third option await el.updateComplete; + el.focus(); // For some reason, the browser loses focus before we press enter. Refocus the select. await sendKeys({ press: 'Enter' }); // commit the selection await el.updateComplete;