Inverse dropdown test

This commit is contained in:
Josh Johnson 2018-10-30 20:52:10 +00:00
parent 0010afa109
commit c9d86fd826

View file

@ -262,10 +262,10 @@ describe('Choices - select one', () => {
}); });
describe('on click', () => { describe('on click', () => {
it('opens choice dropdown', () => { it('does not open choice dropdown', () => {
cy.get('[data-test-hook=disabled-via-attr]') cy.get('[data-test-hook=disabled-via-attr]')
.find('.choices__list--dropdown') .find('.choices__list--dropdown')
.should('be.visible'); .should('not.be.visible');
}); });
}); });
}); });