test(ivy): diagnose root causes of failures in Dialog and MatDialog (#28925)

PR Close #28925
This commit is contained in:
Marc Laval 2019-02-22 16:43:38 +01:00 committed by Ben Lesh
parent cbfc1f238e
commit 33f71e8ce3
1 changed files with 8 additions and 8 deletions

View File

@ -703,7 +703,7 @@ window.testBlocklist = {
}, },
"Dialog should set the proper animation states": { "Dialog should set the proper animation states": {
"error": "TypeError: Cannot read property 'componentInstance' of null", "error": "TypeError: Cannot read property 'componentInstance' of null",
"notes": "Unknown" "notes": "FW-1059: DebugNode.query should query nodes in the logical tree"
}, },
"FullscreenOverlayContainer should open an overlay inside a fullscreen element and move it to the body": { "FullscreenOverlayContainer should open an overlay inside a fullscreen element and move it to the body": {
"error": "Error: Must provide a portal to attach", "error": "Error: Must provide a portal to attach",
@ -751,31 +751,31 @@ window.testBlocklist = {
}, },
"MatDialog should set the proper animation states": { "MatDialog should set the proper animation states": {
"error": "TypeError: Cannot read property 'componentInstance' of null", "error": "TypeError: Cannot read property 'componentInstance' of null",
"notes": "Unknown" "notes": "FW-1059: DebugNode.query should query nodes in the logical tree"
}, },
"MatDialog dialog content elements inside component dialog should close the dialog when clicking on the close button": { "MatDialog dialog content elements inside component dialog should close the dialog when clicking on the close button": {
"error": "Error: Expected 0 to be 1.", "error": "Error: Expected 0 to be 1.",
"notes": "Unknown" "notes": "FW-1097: Static host classes and styles don't work on root component"
}, },
"MatDialog dialog content elements inside component dialog should not close if [mat-dialog-close] is applied on a non-button node": { "MatDialog dialog content elements inside component dialog should not close if [mat-dialog-close] is applied on a non-button node": {
"error": "Error: Expected 0 to be 1.", "error": "Error: Expected 0 to be 1.",
"notes": "Unknown" "notes": "FW-1097: Static host classes and styles don't work on root component"
}, },
"MatDialog dialog content elements inside template portal should close the dialog when clicking on the close button": { "MatDialog dialog content elements inside template portal should close the dialog when clicking on the close button": {
"error": "Error: Expected 0 to be 1.", "error": "Error: Expected 0 to be 1.",
"notes": "Unknown" "notes": "FW-1097: Static host classes and styles don't work on root component"
}, },
"MatDialog dialog content elements inside template portal should not close if [mat-dialog-close] is applied on a non-button node": { "MatDialog dialog content elements inside template portal should not close if [mat-dialog-close] is applied on a non-button node": {
"error": "Error: Expected 0 to be 1.", "error": "Error: Expected 0 to be 1.",
"notes": "Unknown" "notes": "FW-1097: Static host classes and styles don't work on root component"
}, },
"MatDialog dialog content elements inside template portal should return the [mat-dialog-close] result when clicking the close button": { "MatDialog dialog content elements inside template portal should return the [mat-dialog-close] result when clicking the close button": {
"error": "Uncaught TypeError: Cannot read property 'close' of null thrown", "error": "Uncaught TypeError: Cannot read property 'close' of null thrown",
"notes": "Unknown" "notes": "FW-1097: Static host classes and styles don't work on root component"
}, },
"MatDialog dialog content elements inside template portal should set the aria-labelledby attribute to the id of the title": { "MatDialog dialog content elements inside template portal should set the aria-labelledby attribute to the id of the title": {
"error": "Error: Expected null to be 'mat-dialog-title-12', 'Expected the aria-labelledby to match the title id.'.", "error": "Error: Expected null to be 'mat-dialog-title-12', 'Expected the aria-labelledby to match the title id.'.",
"notes": "Unknown" "notes": "FW-1097: Static host classes and styles don't work on root component"
}, },
"MatMenu should open a custom menu": { "MatMenu should open a custom menu": {
"error": "Error: Expected function not to throw an Error, but it threw TypeError.", "error": "Error: Expected function not to throw an Error, but it threw TypeError.",