Skip to content

Commit 1b171ae

Browse files
committed
chore(*): fixed test #7109
1 parent ce28cd9 commit 1b171ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

projects/igniteui-angular/src/lib/grids/grid/grid-toolbar.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,9 @@ describe('IgxGrid - Grid Toolbar #grid - ', () => {
412412

413413
const button = GridFunctions.getColumnPinningButton(fixture);
414414
expect(button).toBeDefined();
415-
const icon = button.querySelector('igx-icon');
416-
const iconName = icon.getAttribute('name');
417415
const btnText = button.innerText.toLowerCase();
418416
expect(btnText.includes('0')).toBe(true);
419-
expect(iconName === 'unpin').toBe(true);
417+
expect(btnText.includes('lock_open')).toBe(true);
420418
});
421419

422420
it('toggleColumnPinningUI() method opens and closes the ColumnPinning dropdown.', () => {

0 commit comments

Comments
 (0)