From cdc6f24a76a08050e65183688e4bc001e0a533db Mon Sep 17 00:00:00 2001 From: "josh.bagwell" Date: Fri, 22 Nov 2024 18:13:52 -0700 Subject: [PATCH] fix: Updated Select Preview spec --- cypress/component/SelectPreview.spec.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/component/SelectPreview.spec.tsx b/cypress/component/SelectPreview.spec.tsx index 9fad1c47b6..4e2a9a3512 100644 --- a/cypress/component/SelectPreview.spec.tsx +++ b/cypress/component/SelectPreview.spec.tsx @@ -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', () => { @@ -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', () => {