Skip to content

Commit

Permalink
fix: Updated Menu spec
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-bagwell committed Nov 12, 2024
1 parent aa37de6 commit 8b15d50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/component/Menu.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ describe('Menu', () => {

context.only('when the enter key is pressed', () => {
beforeEach(() => {
cy.findByRole('menuitem', {name: 'Fourth Item'}).should('be.visible');
cy.focused().realType('{enter}');
});

Expand Down

0 comments on commit 8b15d50

Please sign in to comment.