From f1d7afa85114b4a1ef9290eb076c48a369870be8 Mon Sep 17 00:00:00 2001 From: Arkan Ahmedov Date: Fri, 18 Oct 2024 15:35:16 +0300 Subject: [PATCH] fix(combo): edited combo component test --- .../igniteui-angular/src/lib/combo/combo.component.spec.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/projects/igniteui-angular/src/lib/combo/combo.component.spec.ts b/projects/igniteui-angular/src/lib/combo/combo.component.spec.ts index cd44cb831fc..ba6aedcf316 100644 --- a/projects/igniteui-angular/src/lib/combo/combo.component.spec.ts +++ b/projects/igniteui-angular/src/lib/combo/combo.component.spec.ts @@ -3603,16 +3603,12 @@ describe('igxCombo', () => { expect(combo.valid).toEqual(IgxInputState.INITIAL); expect(combo.comboInput.valid).toEqual(IgxInputState.INITIAL); })); - - fit('should mark the combo as touched and invalid when opened and the user clicks away', fakeAsync(() => { + it('should mark the combo as touched and invalid when opened and the user clicks away', fakeAsync(() => { // Access the NgModel for the testCombo const ngModel = fixture.debugElement.query(By.directive(NgModel)).injector.get(NgModel); - - // Initially, the combo should not be touched expect(combo.valid).toEqual(IgxInputState.INITIAL); expect(combo.comboInput.valid).toEqual(IgxInputState.INITIAL); expect(ngModel.touched).toBeFalse(); - combo.open(); fixture.detectChanges();