Add slight delay for dropdown assertion

This commit is contained in:
Josh Johnson 2018-10-30 21:05:16 +00:00
parent c9d86fd826
commit 8d11eae895

View file

@ -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');