Skip to content

Commit

Permalink
test(combo-box): remove opened before interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
prima-lseg committed Oct 30, 2024
1 parent d8570d1 commit 9ae067e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ describe('combo-box/Interaction', function () {

describe('Navigation Keys Work As Expected', function () {
it('Once the list is open the first item should be highlighted', async function () {
const el = await fixture('<ef-combo-box opened lang="en"></ef-combo-box>');
const el = await fixture('<ef-combo-box lang="en"></ef-combo-box>');
el.data = getData();
el.opened = true;
await elementUpdated(el);
await onFocusEl(el);
const afItem = el.listEl.querySelector('ef-list-item[highlighted]'); // AF, Afghanistan
Expand Down

0 comments on commit 9ae067e

Please sign in to comment.