Skip to content

Commit

Permalink
wait for open
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart committed Nov 20, 2024
1 parent 2eb1898 commit ce3b53d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/inputs/test/input-time.vdiff.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,15 @@ describe('d2l-input-time', () => {

it('dropdown open keydown top', async() => {
const elem = await fixture(create({ value: '00:15:00' }), { viewport });
await sendKeysElem(elem, 'press', 'Enter');
sendKeysElem(elem, 'press', 'Enter');
await oneEvent(elem, 'd2l-dropdown-open');
await expect(elem).to.be.golden();
});

it('dropdown open keydown selected', async() => {
const elem = await fixture(create({ value: '02:00:00' }), { viewport });
await sendKeysElem(elem, 'press', 'Enter');
sendKeysElem(elem, 'press', 'Enter');
await oneEvent(elem, 'd2l-dropdown-open');
await expect(elem).to.be.golden();
});

Expand Down

0 comments on commit ce3b53d

Please sign in to comment.