Skip to content

Commit

Permalink
fix: Updated Select Preview spec
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-bagwell committed Nov 26, 2024
1 parent 806afa5 commit 9f73b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/component/SelectPreview.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ describe('Select', () => {

context('when the menu is expanded again', () => {
beforeEach(() => {
cy.findByRole('button', {name: 'Label'}).should('exist').type('{downArrow}');
cy.findByRole('button', {name: 'Label'}).realPress('{downarrow}');
});

context('the menu', () => {
context.only('the menu', () => {
it('should set assistive focus to the "Mail" option', () => {
cy.findByRole('button', {name: 'Label'})
.pipe(h.selectPreview.getMenu)
Expand Down

0 comments on commit 9f73b85

Please sign in to comment.