113319: Fix dropdown component spec

(cherry picked from commit 70357803e86caabc6357b7cbec9db1ef8edd2a56)
This commit is contained in:
Andreas Awouters
2024-03-26 07:59:34 +01:00
committed by Jens Vannerum
parent 1580acb7be
commit 31d3ab0811

View File

@@ -186,7 +186,7 @@ describe('Dynamic Dynamic Scrollable Dropdown component', () => {
scrollableDropdownFixture.detectChanges();
de = scrollableDropdownFixture.debugElement.queryAll(By.css('button.dropdown-item'));
btnEl = de[0].nativeElement;
btnEl = de[1].nativeElement;
btnEl.dispatchEvent(mousedownEvent);
scrollableDropdownFixture.detectChanges();