Skip to content

Commit f3db815

Browse files
authored
test: do not wait for overlay open to fix flaky select test (#10521)
1 parent f937d48 commit f3db815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/select/test/accessibility.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ describe('accessibility', () => {
376376
it('should set focus-ring on the item when opened with keyboard', async () => {
377377
select.focus();
378378
await sendKeys({ press: 'Enter' });
379-
await oneEvent(overlay, 'vaadin-overlay-open');
379+
await nextRender();
380380

381381
const item = listBox.querySelector('vaadin-select-item');
382382
expect(item.hasAttribute('focus-ring')).to.be.true;

0 commit comments

Comments
 (0)