Skip to content

Commit

Permalink
113319: Fix dropdown component spec
Browse files Browse the repository at this point in the history
(cherry picked from commit 70357803e86caabc6357b7cbec9db1ef8edd2a56)
  • Loading branch information
AAwouters authored and Jens Vannerum committed Apr 15, 2024
1 parent 1580acb commit 31d3ab0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 31d3ab0

Please sign in to comment.