@@ -579,8 +579,8 @@ describe('Column Hiding UI #grid', () => {
579579
580580 const showAll = GridFunctions . getColumnChooserButton ( columnChooserElement , 'Show All' ) ;
581581 const hideAll = GridFunctions . getColumnChooserButton ( columnChooserElement , 'Hide All' ) . nativeElement ;
582- ControlsFunction . verifyButtonIsDisabled ( showAll . nativeElement , false ) ;
583- ControlsFunction . verifyButtonIsDisabled ( hideAll ) ;
582+ ControlsFunction . verifyButtonIsDisabled ( showAll . nativeElement ) ;
583+ ControlsFunction . verifyButtonIsDisabled ( hideAll , false ) ;
584584
585585 showAll . triggerEventHandler ( 'click' , new Event ( 'click' ) ) ;
586586 fix . detectChanges ( ) ;
@@ -600,11 +600,11 @@ describe('Column Hiding UI #grid', () => {
600600 fix . detectChanges ( ) ;
601601 tick ( ) ;
602602
603- ControlsFunction . verifyButtonIsDisabled ( showAll . nativeElement , false ) ;
603+ ControlsFunction . verifyButtonIsDisabled ( showAll . nativeElement ) ;
604604 ControlsFunction . verifyButtonIsDisabled ( hideAll , false ) ;
605605
606606 checkbox = GridFunctions . getColumnChooserItemElement ( columnChooserElement , 'ProductName' ) ;
607- expect ( GridFunctions . getColumnChooserItemInput ( checkbox ) . checked ) . toBe ( false ) ;
607+ expect ( GridFunctions . getColumnChooserItemInput ( checkbox ) . checked ) . toBe ( true ) ;
608608
609609 showAll . triggerEventHandler ( 'click' , new Event ( 'click' ) ) ;
610610 fix . detectChanges ( ) ;
@@ -616,11 +616,11 @@ describe('Column Hiding UI #grid', () => {
616616 expect ( columnChooser . filterCriteria ) . toBe ( '' , 'Filter criteria is not empty string!' ) ;
617617
618618 checkbox = GridFunctions . getColumnChooserItemElement ( columnChooserElement , 'ID' ) ;
619- expect ( GridFunctions . getColumnChooserItemInput ( checkbox ) . checked ) . toBe ( false ) ;
619+ expect ( GridFunctions . getColumnChooserItemInput ( checkbox ) . checked ) . toBe ( true ) ;
620620 checkbox = GridFunctions . getColumnChooserItemElement ( columnChooserElement , 'ProductName' ) ;
621621 expect ( GridFunctions . getColumnChooserItemInput ( checkbox ) . checked ) . toBe ( true ) ;
622622
623- ControlsFunction . verifyButtonIsDisabled ( showAll . nativeElement , false ) ;
623+ ControlsFunction . verifyButtonIsDisabled ( showAll . nativeElement ) ;
624624 ControlsFunction . verifyButtonIsDisabled ( hideAll , false ) ;
625625 } ) ) ;
626626
0 commit comments