Skip to content

Commit

Permalink
fix: Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Sep 14, 2023
1 parent 4c27ff9 commit 803d350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/Select.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ context(`given the "Basic" story is rendered`, () => {
});

context('the menu', () => {
it('should have reset assistive focus to the first option ("Mail") since that is where the cursor was', () => {
it('should have reset assistive focus to the first option ("Phone") since that is where the cursor was', () => {
cy.findAllByRole('option')
.eq(3)
.eq(1)
.should('have.attr', 'aria-selected', 'true');
});
});
Expand Down

0 comments on commit 803d350

Please sign in to comment.