fix failing test

This commit is contained in:
Cory LaViska
2022-12-08 09:01:33 -05:00
parent 1841251fdf
commit 0237851aa1

View File

@@ -89,6 +89,7 @@ describe('<sl-select>', () => {
el.addEventListener('sl-input', inputHandler);
el.focus();
await el.updateComplete;
await sendKeys({ press: ' ' }); // open the dropdown
await aTimeout(200); // wait for the dropdown to open
await sendKeys({ press: 'ArrowDown' }); // select the first option