Skip to content

Commit 3878717

Browse files
committed
fix(query-builder): test name typos
1 parent 09992ca commit 3878717

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ describe('IgxQueryBuilder', () => {
838838
}`);
839839
}));
840840

841-
it('Should correctly apply an \'not-in\' column condition through UI.', fakeAsync(() => {
841+
it('Should correctly apply a \'not-in\' column condition through UI.', fakeAsync(() => {
842842
QueryBuilderFunctions.selectEntityAndClickInitialAddCondition(fix, 1);
843843

844844
QueryBuilderFunctions.selectColumnInEditModeExpression(fix, 0); // Select 'OrderId' column.
@@ -2432,7 +2432,7 @@ describe('IgxQueryBuilder', () => {
24322432
chipComponents = fix.debugElement.queryAll(By.directive(IgxChipComponent));
24332433
});
24342434

2435-
it('should render ghost when mouse drag operation starts.', () => {
2435+
it('Should render ghost when mouse drag operation starts.', () => {
24362436
const draggedChip = chipComponents[1].componentInstance;
24372437

24382438
UIInteractions.moveDragDirective(fix, draggedChip.dragDirective, 100, 10, false);
@@ -2443,14 +2443,14 @@ describe('IgxQueryBuilder', () => {
24432443
expect(dropGhost.innerText).toBe(DROP_CONDITION_HERE);
24442444
});
24452445

2446-
it('should collapse the condition when mouse drag operation starts.', () => {
2446+
it('Should collapse the condition when mouse drag operation starts.', () => {
24472447
const secondChip = chipComponents[1].componentInstance;
24482448

24492449
UIInteractions.moveDragDirective(fix, secondChip.dragDirective, 100, 10, false);
24502450
expect(chipComponents[1].nativeElement.getBoundingClientRect().height).toBe(0);
24512451
});
24522452

2453-
it('should render drop ghost properly when mouse dragged.', fakeAsync(() => {
2453+
it('Should render drop ghost properly when mouse dragged.', fakeAsync(() => {
24542454
const draggedChip = chipComponents[1].componentInstance;
24552455
const draggedChipCenter = QueryBuilderFunctions.getElementCenter(draggedChip.chipArea.nativeElement);
24562456
const dragDir = draggedChip.dragDirective;
@@ -2537,7 +2537,7 @@ describe('IgxQueryBuilder', () => {
25372537

25382538
}));
25392539

2540-
it('should position drop ghost below the target condition on dragging down.', () => {
2540+
it('Should position drop ghost below the target condition on dragging down.', () => {
25412541
const draggedChip = chipComponents[0].componentInstance;
25422542
const draggedChipCenter = QueryBuilderFunctions.getElementCenter(draggedChip.chipArea.nativeElement);
25432543
const dragDir = draggedChip.dragDirective;
@@ -2559,7 +2559,7 @@ describe('IgxQueryBuilder', () => {
25592559
expect(dropGhostBounds.y).toBeCloseTo(targetChipBounds.y + ROW_HEIGHT);
25602560
});
25612561

2562-
it('should position drop ghost above the target condition on dragging up.', fakeAsync(() => {
2562+
it('Should position drop ghost above the target condition on dragging up.', fakeAsync(() => {
25632563
const draggedChip = chipComponents[1].componentInstance;
25642564
const draggedChipCenter = QueryBuilderFunctions.getElementCenter(draggedChip.chipArea.nativeElement);
25652565
const dragDir = draggedChip.dragDirective;
@@ -2582,7 +2582,7 @@ describe('IgxQueryBuilder', () => {
25822582
expect(dropGhostBounds.y).toBeCloseTo(targetChipBounds.y + ROW_HEIGHT);
25832583
}));
25842584

2585-
it('should position drop ghost at the top inside the inner group when dragged over the first inner level condition.', () => {
2585+
it('Should position drop ghost at the top inside the inner group when dragged over the first inner level condition.', () => {
25862586
const secondChip = chipComponents[0].componentInstance;
25872587
const secondChipElem = secondChip.chipArea.nativeElement;
25882588

@@ -2595,7 +2595,7 @@ describe('IgxQueryBuilder', () => {
25952595
expect(dropGhostBounds.y).toBeCloseTo(targetChipBounds.y + ROW_HEIGHT);
25962596
});
25972597

2598-
it('should position drop ghost outside the inner group aligned with the outer level conditions when the top inner level condition is dragged up.', () => {
2598+
it('Should position drop ghost outside the inner group aligned with the outer level conditions when the top inner level condition is dragged up.', () => {
25992599
const draggedChip = chipComponents[4].componentInstance; // "OrderName Ends With a" chip
26002600
const draggedChipCenter = QueryBuilderFunctions.getElementCenter(draggedChip.chipArea.nativeElement);
26012601
const dragDir = draggedChip.dragDirective;
@@ -2614,7 +2614,7 @@ describe('IgxQueryBuilder', () => {
26142614
expect(dropGhostBounds.y).toBeCloseTo(targetChipBounds.y + ROW_HEIGHT);
26152615
});
26162616

2617-
it('should position drop ghost below the inner group aligned with the outer level conditions when the bottom inner level condition is dragged down.', () => {
2617+
it('Should position drop ghost below the inner group aligned with the outer level conditions when the bottom inner level condition is dragged down.', () => {
26182618
const draggedChip = chipComponents[5].componentInstance; // "OrderDate Today" chip
26192619
const dragDir = draggedChip.dragDirective;
26202620
UIInteractions.moveDragDirective(fix, dragDir, -50, 10, false);
@@ -2627,7 +2627,7 @@ describe('IgxQueryBuilder', () => {
26272627
expect(Math.abs(dropGhostBounds.top - innerGroupBounds.bottom)).toBeLessThan(20);
26282628
});
26292629

2630-
it('should hide drop ghost on dragging the mouse far down outside the query builder.', () => {
2630+
it('Should hide drop ghost on dragging the mouse far down outside the query builder.', () => {
26312631
const draggedChip = chipComponents[0].componentInstance;
26322632
const draggedChipElem = draggedChip.chipArea.nativeElement;
26332633

@@ -2638,7 +2638,7 @@ describe('IgxQueryBuilder', () => {
26382638
expect(QueryBuilderFunctions.getVisibleChips(fix).length).toBe(3);
26392639
});
26402640

2641-
it('should drop the condition above the target condition on dragging up.', fakeAsync(() => {
2641+
it('Should drop the condition above the target condition on dragging up.', fakeAsync(() => {
26422642
const secondChip = chipComponents[1].componentInstance; // "OrderId In Products/ OrderId" chip
26432643

26442644
expect(QueryBuilderFunctions.getChipContent(chipComponents[0].nativeElement)).toBe("OrderName Equals foo");
@@ -2658,7 +2658,7 @@ describe('IgxQueryBuilder', () => {
26582658
expect(QueryBuilderFunctions.getChipContent(chipComponents[1].nativeElement)).toBe("OrderName Equals foo");
26592659
}));
26602660

2661-
it('should drop the condition below the target condition on dragging down.', fakeAsync(() => {
2661+
it('Should drop the condition below the target condition on dragging down.', fakeAsync(() => {
26622662
const secondChip = chipComponents[0].componentInstance; // "OrderName Equals foo" chip
26632663
const secondChipElem = secondChip.nativeElement;
26642664

@@ -2674,7 +2674,7 @@ describe('IgxQueryBuilder', () => {
26742674
expect(QueryBuilderFunctions.getChipContent(chipComponents[1].nativeElement)).toBe("OrderName Equals foo");
26752675
}));
26762676

2677-
it('should drop the condition inside the inner group when dropped over the group.', fakeAsync(() => {
2677+
it('Should drop the condition inside the inner group when dropped over the group.', fakeAsync(() => {
26782678
const draggedChip = chipComponents[0].componentInstance; // "OrderName Equals foo" chip
26792679
const draggedChipElem = draggedChip.nativeElement;
26802680

@@ -2694,7 +2694,7 @@ describe('IgxQueryBuilder', () => {
26942694
expect(QueryBuilderFunctions.getChipContent(chipComponents[1].nativeElement)).toBe("OrderName Equals foo");
26952695
}));
26962696

2697-
it('should drop the condition outside the inner group aligned with the outer level conditions when dropped above the inner group.', fakeAsync(() => {
2697+
it('Should drop the condition outside the inner group aligned with the outer level conditions when dropped above the inner group.', fakeAsync(() => {
26982698
const draggedChip = chipComponents[5].componentInstance; // "OrderDate Today" chip
26992699
const draggedChipElem = draggedChip.nativeElement;
27002700

@@ -2714,7 +2714,7 @@ describe('IgxQueryBuilder', () => {
27142714
expect(QueryBuilderFunctions.getChipContent(chipComponents[2].nativeElement)).toBe("OrderDate Today");
27152715
}));
27162716

2717-
it('should drop the condition at the last position of the root group when dropped above the buttons.', fakeAsync(() => {
2717+
it('Should drop the condition at the last position of the root group when dropped above the buttons.', fakeAsync(() => {
27182718
const draggedChip = chipComponents[5].componentInstance; // "OrderDate Today" chip
27192719
const draggedChipCenter = QueryBuilderFunctions.getElementCenter(draggedChip.chipArea.nativeElement);
27202720
const dragDir = draggedChip.dragDirective;
@@ -2834,7 +2834,7 @@ describe('IgxQueryBuilder', () => {
28342834
}`);
28352835
}));
28362836

2837-
it('should remove the inner group when the last condition is dragged out.', fakeAsync(() => {
2837+
it('Should remove the inner group when the last condition is dragged out.', fakeAsync(() => {
28382838
const draggedChip = chipComponents[5].componentInstance; // "OrderDate Today" chip
28392839
const heightOffset = draggedChip.nativeElement.offsetHeight;
28402840

@@ -2857,7 +2857,7 @@ describe('IgxQueryBuilder', () => {
28572857
expect(chipComponents.length).toBe(4);
28582858
}));
28592859

2860-
it('should drop the condition above the currently edited condition on dragging up.', fakeAsync(() => {
2860+
it('Should drop the condition above the currently edited condition on dragging up.', fakeAsync(() => {
28612861
chipComponents = QueryBuilderFunctions.getVisibleChips(fix);
28622862
const draggedChip = chipComponents[3].componentInstance; // "OrderDate Today" chip
28632863
const draggedChipElem = draggedChip.nativeElement;
@@ -2873,7 +2873,7 @@ describe('IgxQueryBuilder', () => {
28732873
expect(QueryBuilderFunctions.getChipContent(chipComponents[2].nativeElement)).toBe("OrderDate Today");
28742874
}));
28752875

2876-
it('should be able to drag a top-level condition while a sub-query is expanded.', () => {
2876+
it('Should be able to drag a top-level condition while a sub-query is expanded.', () => {
28772877
chipComponents[1].nativeElement.click();
28782878

28792879
const draggedChip = chipComponents[0].componentInstance;
@@ -2884,7 +2884,7 @@ describe('IgxQueryBuilder', () => {
28842884
expect(QueryBuilderFunctions.getDropGhost(fix)).not.toBe(null);
28852885
});
28862886

2887-
it('should allow dragging a sub-query condition while a sub-query is expanded.', () => {
2887+
it('Should allow dragging a sub-query condition while a sub-query is expanded.', () => {
28882888
chipComponents[1].nativeElement.click();
28892889

28902890
const draggedChip = chipComponents[2].componentInstance;
@@ -2894,7 +2894,7 @@ describe('IgxQueryBuilder', () => {
28942894
expect(QueryBuilderFunctions.getDropGhost(fix)).not.toBe(null);
28952895
});
28962896

2897-
it('should successfully rearrange sub-query conditions via mouse drag.', fakeAsync(() => {
2897+
it('Should successfully rearrange sub-query conditions via mouse drag.', fakeAsync(() => {
28982898
chipComponents[1].nativeElement.click();
28992899

29002900
const draggedChip = chipComponents[2].componentInstance;
@@ -2911,7 +2911,7 @@ describe('IgxQueryBuilder', () => {
29112911
expect(QueryBuilderFunctions.getChipContent(chipComponents[2].nativeElement)).toBe("Id Equals 123");
29122912
}));
29132913

2914-
it('should not allow dragging a sub-query condition outside the sub-query.', () => {
2914+
it('Should not allow dragging a sub-query condition outside the sub-query.', () => {
29152915
chipComponents[1].nativeElement.click();
29162916

29172917
const draggedChip = chipComponents[2].componentInstance;
@@ -2923,7 +2923,7 @@ describe('IgxQueryBuilder', () => {
29232923
expect(QueryBuilderFunctions.getDropGhost(fix)).toBe(null);
29242924
});
29252925

2926-
it('should successfully drop a condition inside a newly created group.', fakeAsync(() => {
2926+
it('Should successfully drop a condition inside a newly created group.', fakeAsync(() => {
29272927
var addGroupButton = QueryBuilderFunctions.getQueryBuilderTreeRootGroupButtons(fix, 0).pop();
29282928
QueryBuilderFunctions.verifyGroupLineCount(fix, 2, 1);
29292929

@@ -2944,7 +2944,7 @@ describe('IgxQueryBuilder', () => {
29442944
expect(QueryBuilderFunctions.getChipContent(newGroupConditions[0])).toBe("OrderDate Today");
29452945
}));
29462946

2947-
it('should render drop ghost properly when keyboard dragged.', fakeAsync(() => {
2947+
it('Should render drop ghost properly when keyboard dragged.', fakeAsync(() => {
29482948
const draggedIndicator = fix.debugElement.queryAll(By.css('.igx-drag-indicator'))[1];
29492949
const tree = fix.debugElement.query(By.css('.igx-filter-tree'));
29502950

0 commit comments

Comments
 (0)