2019-01-14 20:47:39 -05:00
/ * *
* @ license
* Copyright Google Inc . All Rights Reserved .
*
* Use of this source code is governed by an MIT - style license that can be
* found in the LICENSE file at https : //angular.io/license
* /
/ * *
2019-02-05 13:48:18 -05:00
* Blocklist of unit tests from angular / material2 with ivy that are skipped when running on
* angular / angular . As bugs are resolved , items should be removed from this blocklist .
2019-01-14 20:47:39 -05:00
*
* The ` notes ` section should be used to keep track of specific issues associated with the failures .
* /
// clang-format off
// tslint:disable
2019-02-05 13:48:18 -05:00
window . testBlocklist = {
2019-02-20 20:55:13 -05:00
"CdkTable should be able to render multiple header and footer rows" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
"notes" : "Attempting to access content children before view is initialized"
} ,
"CdkTable should render correctly when using native HTML tags" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with sticky positioning on native table layout should stick and unstick headers" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with sticky positioning on native table layout should stick and unstick footers" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with sticky positioning on native table layout should stick tfoot when all rows are stuck" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with sticky positioning on native table layout should stick and unstick left columns" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with sticky positioning on native table layout should stick and unstick right columns" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with sticky positioning on native table layout should stick and unstick combination of sticky header, footer, and columns" : {
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable with trackBy should change row implicit data even when trackBy finds no changes" : {
"error" : "Error: Expected 'a_1 b_1' to be 'a_2 b_2'." ,
2019-03-11 18:30:52 -04:00
"notes" : "FW-842: View engine dirty-checks projected views when the declaration place is checked"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable should be able to apply classes to rows based on their context" : {
"error" : "Error: Expected false to be true." ,
2019-03-07 19:17:31 -05:00
"notes" : "FW-842: View engine dirty-checks projected views when the declaration place is checked"
2019-02-20 20:55:13 -05:00
} ,
"CdkTable should be able to apply classes to cells based on their row context" : {
"error" : "Error: Expected false to be true." ,
2019-03-07 19:17:31 -05:00
"notes" : "FW-842: View engine dirty-checks projected views when the declaration place is checked"
2019-02-20 20:55:13 -05:00
} ,
2019-03-06 14:39:45 -05:00
"CdkDrag in a drop container should be able to customize the preview element" : {
"error" : "Error: Expected cdk-drag cdk-drag-preview to contain 'custom-preview'." ,
"notes" : "FW-1134: Queries don't match structural directives with ng-template in selector"
} ,
"CdkDrag in a drop container should position custom previews next to the pointer" : {
"error" : "Error: Expected 'translate3d(8px, 33px, 0px)' to be 'translate3d(50px, 50px, 0px)'." ,
"notes" : "FW-1134: Queries don't match structural directives with ng-template in selector"
} ,
"CdkDrag in a drop container should lock position inside a drop container along the x axis" : {
"error" : "Error: Expected 'translate3d(58px, 33px, 0px)' to be 'translate3d(100px, 50px, 0px)'." ,
"notes" : "FW-1134: Queries don't match structural directives with ng-template in selector"
} ,
"CdkDrag in a drop container should lock position inside a drop container along the y axis" : {
"error" : "Error: Expected 'translate3d(8px, 83px, 0px)' to be 'translate3d(50px, 100px, 0px)'." ,
"notes" : "FW-1134: Queries don't match structural directives with ng-template in selector"
} ,
"CdkDrag in a drop container should inherit the position locking from the drop container" : {
"error" : "Error: Expected 'translate3d(58px, 33px, 0px)' to be 'translate3d(100px, 50px, 0px)'." ,
"notes" : "FW-1134: Queries don't match structural directives with ng-template in selector"
} ,
"CdkDrag in a drop container should be able to customize the placeholder" : {
"error" : "Error: Expected cdk-drag cdk-drag-placeholder to contain 'custom-placeholder'." ,
"notes" : "FW-1134: Queries don't match structural directives with ng-template in selector"
} ,
2019-02-20 17:45:41 -05:00
"CdkTree flat tree should initialize should be able to use units different from px for the indentation" : {
"error" : "Error: Failed: Expected node level to be 15rem but was 28px" ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Change detection follows insertion tree only, not declaration tree (CdkTree is OnPush)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-20 17:45:41 -05:00
"CdkTree flat tree should initialize should default to px if no unit is set for string value indentation" : {
"error" : "Error: Failed: Expected node level to be 17px but was 28px" ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Change detection follows insertion tree only, not declaration tree (CdkTree is OnPush)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-20 17:45:41 -05:00
"CdkTree flat tree with toggle should expand/collapse the node" : {
"error" : "Error: Failed: Expected node level to be 40px but was " ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-20 17:45:41 -05:00
"CdkTree flat tree with toggle should expand/collapse the node recursively" : {
"error" : "Error: Failed: Expected node level to be 40px but was " ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-20 17:45:41 -05:00
"CdkTree nested tree with toggle should expand/collapse the node multiple times" : {
"error" : "Error: Expected 3 to be 1, 'Expect node expanded'." ,
2019-03-11 12:12:50 -04:00
"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)"
2019-02-19 21:53:16 -05:00
} ,
2019-02-20 17:45:41 -05:00
"CdkTree nested tree with toggle should expand/collapse the node recursively" : {
"error" : "Error: Failed: Expected node descendant num to be 2 but was 0" ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Content queries and descendants flag (fix test by removing <div> in NestedCdkTreeAppWithToggle)"
2019-02-19 21:53:16 -05:00
} ,
2019-01-14 20:47:39 -05:00
"MatStepper basic stepper should go to next available step when the next button is clicked" : {
2019-02-12 12:46:39 -05:00
"error" : "Error: Expected 2 to be 1." ,
2019-02-07 18:00:22 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper basic stepper should go to previous available step when the previous button is clicked" : {
2019-02-12 12:46:39 -05:00
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
2019-02-07 18:00:22 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper basic stepper should not set focus on header of selected step if header is not clicked" : {
2019-02-12 12:46:39 -05:00
"error" : "Error: Expected 2 to be 1." ,
2019-02-07 18:00:22 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper basic stepper should focus next step header if focus is inside the stepper" : {
2019-02-12 12:46:39 -05:00
"error" : "Error: Expected 2 to be 1." ,
2019-02-07 18:00:22 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper basic stepper should only be able to return to a previous step if it is editable" : {
2019-02-07 18:00:22 -05:00
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper linear stepper should not move to next step if current step is pending" : {
2019-02-07 18:00:22 -05:00
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper stepper with error state should show error state" : {
2019-02-07 18:00:22 -05:00
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper stepper with error state should respect a custom falsy hasError value" : {
2019-02-07 18:00:22 -05:00
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatStepper stepper using Material UI Guideline logic should show done state when step is completed and its not the current step" : {
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
2019-02-07 18:00:22 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
2019-03-08 12:21:15 -05:00
"MatStepper basic stepper should not do anything when pressing the ENTER key with a modifier" : {
"error" : "Expected 0 to be 1, 'Expected index of focused step to increase by 1 after pressing the next key.'" ,
"notes" : "FW-1146: Components should be able to inherit view queries from directives"
} ,
"MatStepper basic stepper should not do anything when pressing the SPACE key with a modifier" : {
"error" : "Expected 0 to be 1, 'Expected index of focused step to increase by 1 after pressing the next key.'" ,
"notes" : "FW-1146: Components should be able to inherit view queries from directives"
} ,
"MatStepper vertical stepper should support using the left/right arrows to move focus" : {
"error" : "Expected 0 to be 1, 'Expected index of focused step to increase by 1 after pressing the next key.'" ,
"notes" : "FW-1146: Components should be able to inherit view queries from directives"
} ,
"MatStepper vertical stepper should support using the up/down arrows to move focus" : {
"error" : "Expected 0 to be 1, 'Expected index of focused step to increase by 1 after pressing the next key.'" ,
"notes" : "FW-1146: Components should be able to inherit view queries from directives"
} ,
"MatStepper vertical stepper should reverse arrow key focus in RTL mode" : {
"error" : "Expected 0 to be 1" ,
"notes" : "FW-1146: Components should be able to inherit view queries from directives"
} ,
2019-02-20 17:45:41 -05:00
"MatSidenav should be fixed position when in fixed mode" : {
2019-03-06 14:39:45 -05:00
"error" : "Error: Expected ng-tns-c24896-0 ng-trigger ng-trigger-transform mat-drawer mat-sidenav mat-drawer-over ng-star-inserted to contain 'mat-sidenav-fixed'." ,
2019-03-04 19:35:42 -05:00
"notes" : "FW-1132: Host class bindings don't work if super class has host class bindings"
2019-02-20 17:45:41 -05:00
} ,
"MatSidenav should set fixed bottom and top when in fixed mode" : {
"error" : "Error: Expected '' to be '20px'." ,
2019-03-04 19:35:42 -05:00
"notes" : "FW-1132: Host class bindings don't work if super class has host class bindings"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatTree flat tree with toggle should expand/collapse the node" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Expected 0 to be 1, 'Expect node expanded one level'." ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatTree flat tree with toggle should expand/collapse the node recursively" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Expected 0 to be 3, 'Expect nodes expanded'." ,
2019-03-11 12:12:50 -04:00
"notes" : "Breaking change: Static directive inputs evaluated in creation mode (CdkTreeNode.mostRecentTreeNode.data is set after inputs)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatTree nested tree with toggle should expand/collapse the node" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Expected 0 to be 1, 'Expect node expanded'." ,
2019-03-11 12:12:50 -04:00
"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)"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatTree nested tree with toggle should expand/collapse the node recursively" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Expected 0 to be 3, 'Expect node expanded'." ,
2019-03-11 12:12:50 -04:00
"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)"
2019-03-01 17:15:11 -05:00
} ,
"MatInput without forms validates the type" : {
"error" : "Error: Input type \"file\" isn't supported by matInput." ,
2019-03-07 06:31:21 -05:00
"notes" : "Breaking change: Static directive inputs evaluated in creation mode - material test to be updated"
2019-03-01 17:15:11 -05:00
} ,
"MatInput with textarea autosize should work in a step" : {
"error" : "TypeError: Cannot read property 'getBoundingClientRect' of null" ,
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
2019-02-20 17:45:41 -05:00
"Dialog should set the proper animation states" : {
"error" : "TypeError: Cannot read property 'componentInstance' of null" ,
2019-02-22 10:43:38 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatAutocomplete aria should set role of autocomplete panel to listbox" : {
"error" : "TypeError: Cannot read property 'nativeElement' of null" ,
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatAutocomplete aria should set aria-owns based on the attached autocomplete" : {
"error" : "TypeError: Cannot read property 'nativeElement' of null" ,
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-19 21:53:16 -05:00
"MatDialog should set the proper animation states" : {
"error" : "TypeError: Cannot read property 'componentInstance' of null" ,
2019-02-22 10:43:38 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-07 18:00:22 -05:00
"MatMenu animations should enable ripples on items by default" : {
"error" : "TypeError: Cannot read property 'query' of null" ,
2019-02-24 16:56:07 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-07 18:00:22 -05:00
"MatMenu animations should disable ripples on disabled items" : {
"error" : "TypeError: Cannot read property 'query' of undefined" ,
2019-02-24 16:56:07 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-07 18:00:22 -05:00
"MatMenu animations should disable ripples if disableRipple is set" : {
"error" : "TypeError: Cannot read property 'query' of undefined" ,
2019-02-24 16:56:07 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-07 18:00:22 -05:00
"MatMenu nested menu should close submenu when hovering over disabled sibling item" : {
"error" : "TypeError: Cannot read property 'nativeElement' of undefined" ,
2019-02-24 16:56:07 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
2019-02-07 18:00:22 -05:00
"MatMenu nested menu should not open submenu when hovering over disabled trigger" : {
"error" : "TypeError: Cannot read property 'componentInstance' of null" ,
2019-02-24 16:56:07 -05:00
"notes" : "FW-1059: DebugNode.query should query nodes in the logical tree"
2019-01-14 20:47:39 -05:00
} ,
"MatSnackBar with TemplateRef should be able to open a snack bar using a TemplateRef" : {
2019-02-19 21:53:16 -05:00
"error" : "Error: Expected ' Fries Pizza ' to contain 'Pasta'." ,
2019-03-06 09:57:20 -05:00
"notes" : "FW-842: View engine dirty-checks projected views when the declaration place is checked"
2019-01-14 20:47:39 -05:00
} ,
"MatTooltip special cases should clear the `user-select` when a tooltip is set on a text field" : {
"error" : "Error: Expected 'none' to be falsy." ,
2019-03-04 19:35:42 -05:00
"notes" : "FW-1133: Inline styles are not applied before constructor is run"
2019-01-14 20:47:39 -05:00
} ,
"MatTooltip special cases should clear the `-webkit-user-drag` on draggable elements" : {
"error" : "Error: Expected 'none' to be falsy." ,
2019-03-04 19:35:42 -05:00
"notes" : "FW-1133: Inline styles are not applied before constructor is run"
2019-01-14 20:47:39 -05:00
} ,
"MatTable should be able to render a table correctly with native elements" : {
2019-02-20 20:55:13 -05:00
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-01-14 20:47:39 -05:00
} ,
"MatTable should apply custom sticky CSS class to sticky cells" : {
2019-02-20 20:55:13 -05:00
"error" : "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered." ,
2019-03-07 12:36:19 -05:00
"notes" : "FW-1141: Direct ContentChildren not found for <tr> tags without a <tbody>"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should be able to filter the table contents" : {
2019-03-01 17:15:11 -05:00
"error" : "TypeError: Cannot read property 'length' of undefined" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should be able to sort the table contents" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Failed: Expected cell contents to be a_3 but was a_1" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should by default correctly sort an empty string" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Failed: Expected cell contents to be but was a_1" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should by default correctly sort undefined values" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Failed: Expected cell contents to be but was a_1" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should sort zero correctly" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Failed: Expected cell contents to be -1 but was a_1" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should be able to page the table contents" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Failed: Expected 7 total rows but got 105" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
} ,
"MatTable with MatTableDataSource and sort/pagination/filter should sort strings with numbers larger than MAX_SAFE_INTEGER correctly" : {
2019-03-01 17:15:11 -05:00
"error" : "Error: Failed: Expected cell contents to be 9563256840123535 but was a_1" ,
2019-02-21 10:42:29 -05:00
"notes" : "Unknown"
2019-01-14 20:47:39 -05:00
}
2019-02-07 18:00:22 -05:00
} ;
2019-03-04 19:35:42 -05:00
// clang-format on