Skip to content

Commit 31d3ab0

Browse files
AAwoutersJens Vannerum
authored andcommitted
113319: Fix dropdown component spec
(cherry picked from commit 70357803e86caabc6357b7cbec9db1ef8edd2a56)
1 parent 1580acb commit 31d3ab0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/scrollable-dropdown/dynamic-scrollable-dropdown.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ describe('Dynamic Dynamic Scrollable Dropdown component', () => {
186186
scrollableDropdownFixture.detectChanges();
187187

188188
de = scrollableDropdownFixture.debugElement.queryAll(By.css('button.dropdown-item'));
189-
btnEl = de[0].nativeElement;
189+
btnEl = de[1].nativeElement;
190190

191191
btnEl.dispatchEvent(mousedownEvent);
192192
scrollableDropdownFixture.detectChanges();

0 commit comments

Comments
 (0)