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 25, 2024
1 parent ef91453 commit b59c877
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cypress/component/SelectPreview.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,12 @@ describe('Select', () => {
});

it('should have focus', () => {
cy.findByRole('button', {name: 'Label'}).pipe(h.selectPreview.getMenu).should('exist');
cy.findByRole('button', {name: 'Label'})
.pipe(h.selectPreview.getMenu)
.should('have.focus');
});
});

it('the menu should have focus', () => {
cy.findByRole('button', {name: 'Label'})
.pipe(h.selectPreview.getMenu)
.should('have.focus');
});

context('when the down arrow key is pressed for a second time', () => {
beforeEach(() => {
cy.findByRole('button', {name: 'Label'})
Expand Down

0 comments on commit b59c877

Please sign in to comment.