Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(ivy): turn on passing Material tests for paginator #28890

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
94 changes: 13 additions & 81 deletions tools/material-ci/angular_material_test_blocklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,6 @@ window.testBlocklist = {
"error": "Error: Missing definitions for header, footer, and row; cannot determine which columns should be rendered.",
"notes": "Unknown"
},
"CdkTable should be able to register column, row, and header row definitions outside content": {
"error": "TypeError: Cannot read property 'addColumnDef' of undefined",
"notes": "Unknown"
},
"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.",
"notes": "Unknown"
Expand Down Expand Up @@ -573,18 +569,10 @@ window.testBlocklist = {
"error": "TypeError: Cannot read property 'nativeElement' of undefined",
"notes": "Unknown"
},
"MatSlideToggle without forms custom action configuration should not change value on click when click action is noop": {
"error": "TypeError: Cannot read property 'nativeElement' of undefined",
"notes": "Unknown"
},
"MatSlideToggle without forms custom action configuration should not change value on dragging when drag action is noop": {
"error": "Error: Expected mat-slide-toggle-thumb-container to contain 'mat-dragging'.",
"notes": "Unknown"
},
"MatSort should use the column definition if used within an mat table": {
"error": "TypeError: Cannot read property 'diff' of undefined",
"notes": "Unknown"
},
"MatDrawer methods should be able to open": {
"error": "Error: Expected 0 to be 1.",
"notes": "Unknown"
Expand All @@ -606,23 +594,23 @@ window.testBlocklist = {
"notes": "Unknown"
},
"MatDrawer methods should restore focus on close if focus is inside drawer": {
"error": "Error: Expected <button class=\"ng-tns-c24047-0\">...</button> to be <button class=\"open\">. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"error": "Error: Expected <button class=\"ng-tns-c22565-0\">...</button> to be <button class=\"open\">. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"notes": "Unknown"
},
"MatDrawer attributes should bind 2-way bind on opened property": {
"error": "Error: Expected false to be true.",
"notes": "Unknown"
},
"MatDrawer focus trapping behavior should trap focus when opened in \"over\" mode": {
"error": "Error: Expected <input type=\"text\" class=\"input2\"> to be <input type=\"text\" class=\"input1 ng-tns-c24342-0\">. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"error": "Error: Expected <input type=\"text\" class=\"input2\"> to be <input type=\"text\" class=\"input1 ng-tns-c22860-0\">. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"notes": "Unknown"
},
"MatDrawer focus trapping behavior should trap focus when opened in \"push\" mode": {
"error": "Error: Expected <input type=\"text\" class=\"input2\"> to be <input type=\"text\" class=\"input1 ng-tns-c24376-0\">. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"error": "Error: Expected <input type=\"text\" class=\"input2\"> to be <input type=\"text\" class=\"input1 ng-tns-c22894-0\">. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"notes": "Unknown"
},
"MatDrawer focus trapping behavior should focus the drawer if there are no focusable elements": {
"error": "Error: Expected <body style=\"\">...</body> to be <mat-drawer position=\"start\" mode=\"over\" class=\"ng-tns-c24444-1 mat-drawer ng-star-inserted ng-trigger ng-trigger-transform mat-drawer-over\" tabindex=\"-1\" style=\"transform: none; visibility: visible;\">...</mat-drawer>. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"error": "Error: Expected <body style=\"\">...</body> to be <mat-drawer position=\"start\" mode=\"over\" class=\"ng-tns-c22962-1 mat-drawer ng-star-inserted ng-trigger ng-trigger-transform mat-drawer-over\" tabindex=\"-1\" style=\"transform: none; visibility: visible;\">...</mat-drawer>. Tip: To check for deep equality, use .toEqual() instead of .toBe().",
"notes": "Unknown"
},
"MatDrawerContainer should animate the content when a drawer is added at a later point": {
Expand Down Expand Up @@ -654,13 +642,17 @@ window.testBlocklist = {
"notes": "Unknown"
},
"MatSidenav should be fixed position when in fixed mode": {
"error": "Error: Expected ng-tns-c24894-0 mat-drawer ng-trigger ng-trigger-transform mat-drawer-over ng-star-inserted to contain 'mat-sidenav-fixed'.",
"error": "Error: Expected ng-tns-c23412-0 mat-drawer ng-trigger ng-trigger-transform mat-drawer-over ng-star-inserted to contain 'mat-sidenav-fixed'.",
"notes": "Unknown"
},
"MatSidenav should set fixed bottom and top when in fixed mode": {
"error": "Error: Expected '' to be '20px'.",
"notes": "Unknown"
},
"MatSort should use the column definition if used within an mat table": {
"error": "TypeError: Cannot read property 'diff' of undefined",
"notes": "FW-1082: ngOnChanges hooks aren't inherited from grand-superclasses"
},
"MatTree flat tree should initialize with rendered dataNodes": {
"error": "TypeError: Cannot read property 'classList' of undefined",
"notes": "FW-1081: Static host classes don't work if component has superclass with host classes"
Expand Down Expand Up @@ -765,6 +757,10 @@ window.testBlocklist = {
"error": "Error: Must provide a portal to attach",
"notes": "Unknown"
},
"MatBottomSheet should position the bottom sheet at the bottom center of the screen": {
"error": "Error: Expected 511 to be 512.",
"notes": "Unknown"
},
"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"
Expand All @@ -773,10 +769,6 @@ window.testBlocklist = {
"error": "TypeError: Cannot read property 'nativeElement' of null",
"notes": "FW-1059: DebugNode.query should query nodes in the logical tree"
},
"MatBottomSheet should position the bottom sheet at the bottom center of the screen": {
"error": "Error: Expected 511 to be 512.",
"notes": "Unknown"
},
"MatDatepicker with MatNativeDateModule standard datepicker should open datepicker if opened input is set to true": {
"error": "Error: Expected null not to be null.",
"notes": "Unknown"
Expand Down Expand Up @@ -985,66 +977,6 @@ window.testBlocklist = {
"error": "Error: This PortalOutlet has already been disposed",
"notes": "Unknown"
},
"MatPaginator when navigating with the next and previous buttons should be able to go to the next page": {
"error": "TypeError: Cannot read property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator when navigating with the next and previous buttons should be able to go to the previous page": {
"error": "TypeError: Cannot set property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator should mark itself as initialized": {
"error": "TypeError: Cannot read property 'initialized' of undefined",
"notes": "Unknown"
},
"MatPaginator should not allow a negative pageSize": {
"error": "TypeError: Cannot set property 'pageSize' of undefined",
"notes": "Unknown"
},
"MatPaginator should not allow a negative pageIndex": {
"error": "TypeError: Cannot set property 'pageSize' of undefined",
"notes": "Unknown"
},
"MatPaginator when showing the first and last button should be able to go to the last page via the last page button": {
"error": "TypeError: Cannot read property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator when showing the first and last button should be able to go to the first page via the first page button": {
"error": "TypeError: Cannot set property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator when showing the first and last button should disable navigating to the next page if at last page": {
"error": "TypeError: Cannot read property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator when showing the first and last button should disable navigating to the previous page if at first page": {
"error": "TypeError: Cannot read property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator should mark for check when inputs are changed directly": {
"error": "TypeError: Cannot set property 'length' of undefined",
"notes": "Unknown"
},
"MatPaginator should show a sorted list of page size options including the current page size": {
"error": "TypeError: Cannot read property '_displayedPageSizeOptions' of undefined",
"notes": "Unknown"
},
"MatPaginator should be able to change the page size while keeping the first item present": {
"error": "TypeError: Cannot read property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatPaginator should keep track of the right number of pages": {
"error": "TypeError: Cannot read property 'getNumberOfPages' of undefined",
"notes": "Unknown"
},
"MatPaginator should show a select only if there are multiple options": {
"error": "TypeError: Cannot read property '_displayedPageSizeOptions' of undefined",
"notes": "Unknown"
},
"MatPaginator should handle the number inputs being passed in as strings": {
"error": "TypeError: Cannot read property 'pageIndex' of undefined",
"notes": "Unknown"
},
"MatTable with basic data source should be able to create a table with the right content and without when row": {
"error": "TypeError: Cannot read property 'diff' of undefined",
"notes": "FW-1082: ngOnChanges hooks aren't inherited from grand-superclasses"
Expand Down