diff --git a/cypress/integration/text.spec.js b/cypress/integration/text.spec.js index b774943..e57e78d 100644 --- a/cypress/integration/text.spec.js +++ b/cypress/integration/text.spec.js @@ -217,6 +217,7 @@ describe('Choices - text element', () => { }); it('hides dropdown prompt once limit has been reached', () => { + cy.wait(500); // allow for animation frame cy.get('[data-test-hook=input-limit]') .find('.choices__list--dropdown') .should('not.be.visible');