Skip to content

Commit f92eb3e

Browse files
committed
SVY-20565 Multiselect with number returned in dataproviders (fix tests)
1 parent d855605 commit f92eb3e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • components/projects/bootstrapcomponents/src/select

components/projects/bootstrapcomponents/src/select/select.cy.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ describe('ServoyBootstrapSelect', () => {
132132

133133
it('should allow multiselect', () => {
134134
config.componentProperties.multiselect = true;
135-
wrapper.component.dataProviderID = ['1'];
136-
cy.mount(WrapperComponent, config).then(() => {
135+
cy.mount(WrapperComponent, config).then(wrapper => {
136+
wrapper.component.dataProviderID = ['1'];
137+
wrapper.fixture.detectChanges();
137138
cy.get('select').should('have.attr', 'multiple');
138139
cy.get('select').invoke('val').should('deep.equal', ["0: '1'"]).then(() => {
139140
cy.get('select').select(["0: '1'", "1: '2'"]).then(() => {

0 commit comments

Comments
 (0)