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 13, 2024
1 parent 58da70e commit 851e25b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/component/Menu.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('Menu', () => {
});
});

context.only('when down arrow key is pressed', () => {
context('when down arrow key is pressed', () => {
beforeEach(() => {
cy.findByRole('menuitem', {name: 'First Item'}).should('be.focused');
cy.focused().realType('{downarrow}');
Expand All @@ -81,6 +81,7 @@ describe('Menu', () => {
it('should transfer focus to the second item', () => {
cy.findByRole('menuitem', {name: 'Second Item'}).should('be.focused');
});

context('when the enter key is pressed', () => {
beforeEach(() => {
cy.focused().realType('{enter}');
Expand Down

0 comments on commit 851e25b

Please sign in to comment.