mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-01 21:42:46 +02:00
Add slight delay for dropdown assertion
This commit is contained in:
parent
c9d86fd826
commit
8d11eae895
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue