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 18, 2024
1 parent 1f7b80b commit 2291b94
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 @@ -182,7 +182,7 @@ describe('Select', () => {

context('when the down arrow key is pressed', () => {
beforeEach(() => {
cy.realType('{downarrow}');
cy.findByRole('button', {name: 'Label'}).realType('{downarrow}');
});

context('the select button', () => {
Expand All @@ -205,7 +205,7 @@ describe('Select', () => {
});
});

context('when the down arrow key is pressed for a second time', () => {
context.only('when the down arrow key is pressed for a second time', () => {
beforeEach(() => {
cy.realType('{downarrow}');
});
Expand Down

0 comments on commit 2291b94

Please sign in to comment.