use reactive form to submit quiz angular code example
Example: anguler test submit form
fixture.debugElement
.query(By.css('form'))
.triggerEventHandler('ngSubmit', null);
fixture.debugElement
.query(By.css('form'))
.triggerEventHandler('ngSubmit', null);