Skip to content

Commit 2ab194c

Browse files
crisbetomatsko
authored andcommitted
test(ivy): remove tree tests from blocklist (angular#29377)
Removes all of the tests fixed by angular/components#15504 from the blocklist. PR Close angular#29377
1 parent 7b5d326 commit 2ab194c

File tree

1 file changed

+1
-41
lines changed

1 file changed

+1
-41
lines changed

tools/material-ci/angular_material_test_blocklist.js

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,6 @@
1717
// tslint:disable
1818

1919
window.testBlocklist = {
20-
"CdkTree flat tree should initialize should be able to use units different from px for the indentation": {
21-
"error": "Error: Failed: Expected node level to be 15rem but was 28px",
22-
"notes": "Breaking change: Change detection follows insertion tree only, not declaration tree (CdkTree is OnPush)"
23-
},
24-
"CdkTree flat tree should initialize should default to px if no unit is set for string value indentation": {
25-
"error": "Error: Failed: Expected node level to be 17px but was 28px",
26-
"notes": "Breaking change: Change detection follows insertion tree only, not declaration tree (CdkTree is OnPush)"
27-
},
28-
"CdkTree flat tree with toggle should expand/collapse the node": {
29-
"error": "Error: Failed: Expected node level to be 40px but was ",
30-
"notes": "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
31-
},
32-
"CdkTree flat tree with toggle should expand/collapse the node recursively": {
33-
"error": "Error: Failed: Expected node level to be 40px but was ",
34-
"notes": "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
35-
},
36-
"CdkTree nested tree with toggle should expand/collapse the node multiple times": {
37-
"error": "Error: Expected 3 to be 1, 'Expect node expanded'.",
38-
"notes": "1) Breaking change: Change detection follows insertion tree only, not declaration tree (CdkTree is OnPush) - 2) Breaking change: Content queries and descendants flag (fix test by removing <div> in NestedCdkTreeAppWithToggle)"
39-
},
40-
"CdkTree nested tree with toggle should expand/collapse the node recursively": {
41-
"error": "Error: Failed: Expected node descendant num to be 2 but was 0",
42-
"notes": "Breaking change: Content queries and descendants flag (fix test by removing <div> in NestedCdkTreeAppWithToggle)"
43-
},
4420
"MatSidenav should be fixed position when in fixed mode": {
4521
"error": "Error: Expected ng-tns-c22979-0 ng-trigger ng-trigger-transform mat-drawer mat-sidenav mat-drawer-over ng-star-inserted to contain 'mat-sidenav-fixed'.",
4622
"notes": "FW-1132: Host class bindings don't work if super class has host class bindings"
@@ -49,22 +25,6 @@ window.testBlocklist = {
4925
"error": "Error: Expected '' to be '20px'.",
5026
"notes": "FW-1132: Host class bindings don't work if super class has host class bindings"
5127
},
52-
"MatTree flat tree with toggle should expand/collapse the node": {
53-
"error": "Error: Expected 0 to be 1, 'Expect node expanded one level'.",
54-
"notes": "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
55-
},
56-
"MatTree flat tree with toggle should expand/collapse the node recursively": {
57-
"error": "Error: Expected 0 to be 3, 'Expect nodes expanded'.",
58-
"notes": "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
59-
},
60-
"MatTree nested tree with toggle should expand/collapse the node": {
61-
"error": "Error: Expected 0 to be 1, 'Expect node expanded'.",
62-
"notes": "1) Breaking change: Content queries and descendants flag (fix test by removing <div> in NestedMatTreeAppWithToggle) - 2) Breaking change: Ivy inherits metadata from superclasses (remove (click) in MatTreeNodeToggle)"
63-
},
64-
"MatTree nested tree with toggle should expand/collapse the node recursively": {
65-
"error": "Error: Expected 0 to be 3, 'Expect node expanded'.",
66-
"notes": "1) Breaking change: Content queries and descendants flag (fix test by removing <div> in NestedMatTreeAppWithToggle) - 2) Breaking change: Ivy inherits metadata from superclasses (remove (click) in MatTreeNodeToggle)"
67-
},
6828
"Dialog should set the proper animation states": {
6929
"error": "TypeError: Cannot read property 'componentInstance' of null",
7030
"notes": "FW-1059: DebugNode.query should query nodes in the logical tree"
@@ -106,4 +66,4 @@ window.testBlocklist = {
10666
"notes": "Breaking change: Change detection follows insertion tree only, not declaration tree (MatSnackBarContainer is OnPush)"
10767
}
10868
};
109-
// clang-format on
69+
// clang-format on

0 commit comments

Comments
 (0)