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 21, 2024
1 parent 4f65f17 commit 897d50e
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 @@ -435,7 +435,7 @@ describe('Select', () => {
});

context('the menu', () => {
it.only('should still have assistive focus set to the second option ("Phone")', () => {
it('should still have assistive focus set to the second option ("Phone")', () => {
// Focus is shifting between the button and menu as we close
// and open the menu. It's important that we use getMenu rather
// than cy.focused() to ensure we obtain a reference to the menu.
Expand Down Expand Up @@ -488,7 +488,7 @@ describe('Select', () => {

context('when the down arrow key is pressed', () => {
beforeEach(() => {
cy.findByRole('button', {name: 'Label'})
cy.findByRole('button', {name: 'Label (Disabled Options)'})
.pipe(h.selectPreview.getMenu)
.realType('{downarrow}');
});
Expand Down

0 comments on commit 897d50e

Please sign in to comment.