Skip to content

Commit 773325c

Browse files
committed
chore(*): remove the incorrect horizontal scroll element
1 parent f862dc2 commit 773325c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

projects/igniteui-angular/src/lib/test-utils/grid-functions.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,13 +1772,11 @@ export class GridSelectionFunctions {
17721772
public static verifyHeaderAndRowCheckBoxesAlignment(grid) {
17731773
const headerDiv = GridSelectionFunctions.getRowCheckboxDiv(GridSelectionFunctions.getHeaderRow(grid));
17741774
const firstRowDiv = GridSelectionFunctions.getRowCheckboxDiv(grid.rowList.first.nativeElement);
1775-
const scrollStartElement = grid.nativeElement.querySelector(SCROLL_START_CSS_CLASS);
17761775
const hScrollbar = grid.headerContainer.getScroll();
17771776

17781777
expect(headerDiv.offsetWidth).toEqual(firstRowDiv.offsetWidth);
17791778
expect(headerDiv.offsetLeft).toEqual(firstRowDiv.offsetLeft);
17801779
if (hScrollbar.scrollWidth) {
1781-
expect(scrollStartElement.offsetWidth).toEqual(firstRowDiv.offsetWidth + firstRowDiv.offsetLeft);
17821780
expect(hScrollbar.offsetLeft).toEqual(firstRowDiv.offsetWidth + firstRowDiv.offsetLeft);
17831781
}
17841782
}

0 commit comments

Comments
 (0)