Skip to content

Commit

Permalink
test(row-drag): Fixing tests #6081
Browse files Browse the repository at this point in the history
  • Loading branch information
dafo committed Nov 3, 2019
1 parent 72b3032 commit b271f5f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,8 @@ describe('IgxGrid - Row Drag Tests #grid', () => {
expect(row.grid.rowDragging).toBeTruthy();

const ghostElements = document.getElementsByClassName(CSS_CLASS_GHOST_ROW);
const ghostElement = ghostElements[0];
expect(ghostElements.length).toEqual(1);
const ghostElement = ghostElements[1];
expect(ghostElements.length).toEqual(2);
expect(ghostElement.classList.contains(CSS_CLASS_SELECTED_ROW)).toBeFalsy();

await pointerMove(dragIndicatorElement, dropPoint, fixture);
Expand Down

0 comments on commit b271f5f

Please sign in to comment.