Skip to content

Commit c6e564d

Browse files
committed
fix(query-builder): test mosue drag now passing
1 parent 2779468 commit c6e564d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/query-builder/query-builder.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,13 +2522,13 @@ describe('IgxQueryBuilder', () => {
25222522
if (pass > 2 || (dropGhost && prevElement == 'or OrderName Ends With a OrderDate Today' && !nextElement)) ghostPositionVisits[6] = true;
25232523
}
25242524

2525-
if (i > 300 && !ghostPositionVisits[7]) {
2526-
if (i >= 318) tick(50);
2525+
if (i > 320 && !ghostPositionVisits[7]) {
2526+
if (i >= 340) tick(50);
25272527
if (!dropGhost) ghostPositionVisits[7] = true;
25282528
}
25292529

25302530
//When dragged to the end, check results and reverse direction for next pass
2531-
if (i === 320 || i === 0) {
2531+
if (i === 350 || i === 0) {
25322532
expect(ghostPositionVisits).not.toContain(false,
25332533
`Ghost was not rendered on position(s) ${ghostPositionVisits.reduce((arr, e, ix) => ((e == false) && arr.push(ix), arr), []).toString()} on pass:${pass}`);
25342534

0 commit comments

Comments
 (0)