@@ -1128,7 +1128,7 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
11281128 const reset = editingBtns . queryAll ( By . css ( 'button' ) ) [ 0 ] ;
11291129 const close = editingBtns . queryAll ( By . css ( 'button' ) ) [ 1 ] ;
11301130
1131- expect ( reset . nativeElement . innerText ) . toBe ( 'Reset' ) ;
1131+ expect ( reset . nativeElement . childNodes [ 1 ] . textContent . trim ( ) ) . toBe ( 'Reset' ) ;
11321132 } ) ) ;
11331133
11341134 it ( 'Should correctly change resource strings for filter row using Changei18n.' , fakeAsync ( ( ) => {
@@ -1151,8 +1151,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
11511151 const reset = editingBtns . queryAll ( By . css ( 'button' ) ) [ 0 ] ;
11521152 const close = editingBtns . queryAll ( By . css ( 'button' ) ) [ 1 ] ;
11531153
1154- expect ( close . nativeElement . innerText ) . toBe ( 'My close' ) ;
1155- expect ( reset . nativeElement . innerText ) . toBe ( 'Reset' ) ;
1154+ expect ( close . nativeElement . childNodes [ 1 ] . textContent . trim ( ) ) . toBe ( 'My close' ) ;
1155+ expect ( reset . nativeElement . childNodes [ 1 ] . textContent . trim ( ) ) . toBe ( 'Reset' ) ;
11561156
11571157 changei18n ( {
11581158 igx_grid_filter : 'Filter' ,
@@ -1181,8 +1181,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
11811181 const reset = editingBtns . queryAll ( By . css ( 'button' ) ) [ 0 ] ;
11821182 const close = editingBtns . queryAll ( By . css ( 'button' ) ) [ 1 ] ;
11831183
1184- expect ( close . nativeElement . innerText ) . toBe ( 'My close' ) ;
1185- expect ( reset . nativeElement . innerText ) . toBe ( 'Reset' ) ;
1184+ expect ( close . nativeElement . childNodes [ 1 ] . textContent . trim ( ) ) . toBe ( 'My close' ) ;
1185+ expect ( reset . nativeElement . childNodes [ 1 ] . textContent . trim ( ) ) . toBe ( 'Reset' ) ;
11861186 } ) ) ;
11871187
11881188 it ( 'should correctly apply locale to datePicker.' , fakeAsync ( ( ) => {
0 commit comments