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 23, 2024
1 parent 6035248 commit cdc6f24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cypress/component/SelectPreview.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ describe('Select', () => {
cy.findByRole('button', {name: 'Label'}).should('exist');
cy.findByRole('button', {name: 'Label'})
.pipe(h.selectPreview.getMenu)
.realPress('{downarrow}');
.type('{downArrow}');
});

context('the menu', () => {
Expand Down Expand Up @@ -653,7 +653,8 @@ describe('Select', () => {

context('when "s{500ms delay}d" is typed', () => {
beforeEach(() => {
cy.findByRole('button', {name: 'Label'}).realType('sd', {delay: 500});
cy.findByRole('button', {name: 'Label'}).realType('s', {delay: 500});
cy.findByRole('button', {name: 'Label'}).realType('d');
});

context('the select button', () => {
Expand Down

0 comments on commit cdc6f24

Please sign in to comment.