MCPcopy Create free account
hub / github.com/angular/components / fillOutStepper

Function fillOutStepper

src/material/stepper/stepper.spec.ts:787–798  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

785 it('should not clobber the `complete` binding when resetting', () => {
786 const steps: CdkStep[] = stepper.steps.toArray();
787 const fillOutStepper = () => {
788 testComponent.oneGroup.get('oneCtrl')!.setValue('input');
789 testComponent.twoGroup.get('twoCtrl')!.setValue('input');
790 testComponent.threeGroup.get('threeCtrl')!.setValue('valid');
791 testComponent.validationTrigger.next();
792 stepper.selectedIndex = 1;
793 fixture.detectChanges();
794 stepper.selectedIndex = 2;
795 fixture.detectChanges();
796 stepper.selectedIndex = 3;
797 fixture.detectChanges();
798 };
799
800 fillOutStepper();
801

Callers 1

stepper.spec.tsFile · 0.85

Calls 3

getMethod · 0.65
setValueMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected