Add further test delays

This commit is contained in:
Josh Johnson 2018-10-30 21:11:45 +00:00
parent 8d11eae895
commit bd674b5bdf
2 changed files with 3 additions and 0 deletions

View file

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

View file

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