mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-01 13:32:23 +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', () => {
|
it('hides dropdown prompt once limit has been reached', () => {
|
||||||
|
cy.wait(500); // allow for animation frame
|
||||||
cy.get('[data-test-hook=input-limit]')
|
cy.get('[data-test-hook=input-limit]')
|
||||||
.find('.choices__list--dropdown')
|
.find('.choices__list--dropdown')
|
||||||
.should('not.be.visible');
|
.should('not.be.visible');
|
||||||
|
|
Loading…
Reference in a new issue