mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-01 21:42:46 +02:00
Add further test delays
This commit is contained in:
parent
8d11eae895
commit
bd674b5bdf
|
@ -293,6 +293,7 @@ describe('Choices - select multiple', () => {
|
|||
|
||||
describe('on click', () => {
|
||||
it('does not open choice dropdown', () => {
|
||||
cy.wait(500); // allow for animation frame
|
||||
cy.get('[data-test-hook=add-items-disabled]')
|
||||
.find('.choices__list--dropdown')
|
||||
.should('not.be.visible');
|
||||
|
|
|
@ -241,6 +241,7 @@ describe('Choices - select one', () => {
|
|||
|
||||
describe('on click', () => {
|
||||
it('does not open choice dropdown', () => {
|
||||
cy.wait(500); // allow for animation frame
|
||||
cy.get('[data-test-hook=add-items-disabled]')
|
||||
.find('.choices__list--dropdown')
|
||||
.should('not.be.visible');
|
||||
|
@ -263,6 +264,7 @@ describe('Choices - select one', () => {
|
|||
|
||||
describe('on click', () => {
|
||||
it('does not open choice dropdown', () => {
|
||||
cy.wait(500); // allow for animation frame
|
||||
cy.get('[data-test-hook=disabled-via-attr]')
|
||||
.find('.choices__list--dropdown')
|
||||
.should('not.be.visible');
|
||||
|
|
Loading…
Reference in a new issue