Skip to content

Commit

Permalink
Updated expectation in cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
thatblindgeye committed Oct 17, 2024
1 parent e861f7f commit d973296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('Dropdown demo test', () => {
});
it('Autofocuses first item on click when shouldFocusFirstItemOnOpen is true', () => {
cy.get('[data-cy="autofocus-toggle"]').click();
cy.get('#first-item').should('not.be.focused');
cy.get('#first-item').should('be.focused');
cy.get('[data-cy="toggle"]').trigger('keydown', { key: 'Escape' });
});
});

0 comments on commit d973296

Please sign in to comment.