@@ -2047,7 +2047,7 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
20472047 // Verify the condition was submitted.
20482048 const header = GridFunctions . getColumnHeader ( 'ProductName' , fix ) ;
20492049 const activeFilterIcon = header . nativeElement . querySelector ( '.igx-excel-filter__icon--filtered' ) ;
2050- expect ( activeFilterIcon ) . toBeDefined ( 'no active filter icon was found' ) ;
2050+ expect ( activeFilterIcon , 'no active filter icon was found' ) . toBeDefined ( ) ;
20512051 } ) ) ;
20522052
20532053 it ( 'Should clear non-unary conditions with null searchVal when close' , fakeAsync ( ( ) => {
@@ -2842,24 +2842,23 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
28422842
28432843 it ( 'Should render custom filter template instead of default one.' , fakeAsync ( ( ) => {
28442844 // Verify default filter template is not present.
2845- expect ( GridFunctions . getFilterCell ( fix , 'ProductName' ) . query ( By . css ( '.igx-filtering-chips' ) ) ) . toBeNull (
2846- '\'ProductName\' default filter chips area template was found.' ) ;
2847- expect ( GridFunctions . getFilterCell ( fix , 'Downloads' ) . query ( By . css ( '.igx-filtering-chips' ) ) ) . toBeNull (
2848- '\'Downloads\' default filter chips area template was found.' ) ;
2849- expect ( GridFunctions . getFilterCell ( fix , 'Released' ) . query ( By . css ( '.igx-filtering-chips' ) ) ) . toBeNull (
2850- '\'Released\' default filter chips area template was found.' ) ;
2851- expect ( GridFunctions . getFilterCell ( fix , 'ReleaseDate' ) . query ( By . css ( '.igx-filtering-chips' ) ) ) . toBeNull (
2852- '\'ReleaseDate\' default filter chips area template was found.' ) ;
2853-
2845+ expect ( GridFunctions . getFilterCell ( fix , 'ProductName' ) . query ( By . css ( '.igx-filtering-chips' ) ) ,
2846+ '\'ProductName\' default filter chips area template was found.' ) . toBeNull ( ) ;
2847+ expect ( GridFunctions . getFilterCell ( fix , 'Downloads' ) . query ( By . css ( '.igx-filtering-chips' ) ) ,
2848+ '\'Downloads\' default filter chips area template was found.' ) . toBeNull ( ) ;
2849+ expect ( GridFunctions . getFilterCell ( fix , 'Released' ) . query ( By . css ( '.igx-filtering-chips' ) ) ,
2850+ '\'Released\' default filter chips area template was found.' ) . toBeNull ( ) ;
2851+ expect ( GridFunctions . getFilterCell ( fix , 'ReleaseDate' ) . query ( By . css ( '.igx-filtering-chips' ) ) ,
2852+ '\'ReleaseDate\' default filter chips area template was found.' ) . toBeNull ( ) ;
28542853 // Verify the custom filter template is present.
2855- expect ( GridFunctions . getFilterCell ( fix , 'ProductName' ) . query ( By . css ( '.custom-filter' ) ) ) . not . toBeNull (
2856- '\'ProductName\' customer filter template was not found.' ) ;
2857- expect ( GridFunctions . getFilterCell ( fix , 'Downloads' ) . query ( By . css ( '.custom-filter' ) ) ) . not . toBeNull (
2858- '\'Downloads\' customer filter template was not found.' ) ;
2859- expect ( GridFunctions . getFilterCell ( fix , 'Released' ) . query ( By . css ( '.custom-filter' ) ) ) . not . toBeNull (
2860- '\'Released\' customer filter template was not found.' ) ;
2861- expect ( GridFunctions . getFilterCell ( fix , 'ReleaseDate' ) . query ( By . css ( '.custom-filter' ) ) ) . not . toBeNull (
2862- '\'ReleaseDate\' customer filter template was not found.' ) ;
2854+ expect ( GridFunctions . getFilterCell ( fix , 'ProductName' ) . query ( By . css ( '.custom-filter' ) ) ,
2855+ '\'ProductName\' customer filter template was not found.' ) . not . toBeNull ( ) ;
2856+ expect ( GridFunctions . getFilterCell ( fix , 'Downloads' ) . query ( By . css ( '.custom-filter' ) ) ,
2857+ '\'Downloads\' customer filter template was not found.' ) . not . toBeNull ( ) ;
2858+ expect ( GridFunctions . getFilterCell ( fix , 'Released' ) . query ( By . css ( '.custom-filter' ) ) ,
2859+ '\'Released\' customer filter template was not found.' ) . not . toBeNull ( ) ;
2860+ expect ( GridFunctions . getFilterCell ( fix , 'ReleaseDate' ) . query ( By . css ( '.custom-filter' ) ) ,
2861+ '\'ReleaseDate\' customer filter template was not found.' ) . not . toBeNull ( ) ;
28632862 } ) ) ;
28642863
28652864 it ( 'Should close default filter template when clicking on a column with custom one.' , fakeAsync ( ( ) => {
@@ -6176,7 +6175,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
61766175
61776176 excelMenu = GridFunctions . getExcelStyleFilteringComponent ( fix ) ;
61786177 expect ( excelMenu ) . not . toBeNull ( ) ;
6179- expect ( inputNativeElement . value ) . toBe ( '' , 'input isn\'t cleared correctly' ) ;
6178+ expect ( inputNativeElement . value , 'input isn\'t cleared correctly' ) . toBe ( ' ') ;
61806179 } ) ) ;
61816180
61826181 it ( 'Should clear search criteria when selecting clear column filters option.' , fakeAsync ( ( ) => {
@@ -6615,7 +6614,7 @@ describe('IgxGrid - Filtering actions - Excel style filtering #grid', () => {
66156614 flush ( ) ;
66166615
66176616 inputNativeElement = GridFunctions . getExcelStyleSearchComponentInput ( fix ) ;
6618- expect ( inputNativeElement . value ) . toBe ( '' , 'input value didn\'t reset' ) ;
6617+ expect ( inputNativeElement . value , 'input value didn\'t reset' ) . toBe ( ' ') ;
66196618 } ) ) ;
66206619
66216620 it ( 'Should reset blank items on column change.' , fakeAsync ( ( ) => {
@@ -7429,8 +7428,7 @@ const verifyPinningHidingSize = (fix: ComponentFixture<any>, expectedSize: ɵSiz
74297428 expect ( actionsAreaColumnHidingIcon , 'actionsArea column hiding icon is NOT present' ) . not . toBeNull ( ) ;
74307429 } else {
74317430 // Verify icons in header are present.
7432- expect ( ( headerAreaPinIcon !== null ) || ( headerAreaUnpinIcon !== null ) ) . toBe ( true ,
7433- 'headerArea pin/unpin icon is NOT present' ) ;
7431+ expect ( ( headerAreaPinIcon !== null ) || ( headerAreaUnpinIcon !== null ) , 'headerArea pin/unpin icon is NOT present' ) . toBe ( true ) ;
74347432 expect ( headerAreaColumnHidingIcon , 'headerArea column hiding icon is NOT present' ) . not . toBeNull ( ) ;
74357433 // Verify icons in actions area are not present.
74367434 expect ( actionsPinArea , 'actionsArea pin icon is present' ) . toBeNull ( ) ;
0 commit comments