Answers for "how to write a test case for dropdown selection change in angular 9"

0

how to write a test case for dropdown selection change in angular 9

selectEl = fixture.debugElement.query(By.css('#dropdown'));
selectEl.nativeElement.options[3].nativeElement.dispatchEvent(new Event('click'));
selectEl.queryAll(By.css('option'))[3].nativeElement.click();
selectEl.nativeElement.options[3].nativeElement.click();
Posted by: Guest on August-12-2020

Code answers related to "how to write a test case for dropdown selection change in angular 9"

Code answers related to "Javascript"

Browse Popular Code Answers by Language