我们有一个angular 6应用程序,我们将其迁移到了7。我想在karma-Jasmin中编写登录表单页面的测试用例,我编写了以下代码。但是它在下面给了很多错误...
我搜索了错误解决方案,我需要在login.spec.ts中导入模块和组件,但是我已经将其导入到app.module.ts中。我是否必须在login.spec.ts中再次导入所有模块和注释?编写测试用例的最佳方法是什么?请提出建议。谢谢...
错误
Chrome 70.0.3538 (Windows 7 0.0.0): Executed 0 of 1 SUCCESS (0 secs / 0 secs)
Chrome 70.0.3538 (Windows 7 0.0.0) LoginComponent should create login component FAILED
Failed: Template parse errors:
There is no directive with "exportAs" set to "ngForm" ("sage">{{message}}</p>
<form name="form" (ngSubmit) = "login()" id="loginform" novalidate [ERROR ->]#f = "ngForm">
<mat-form-field style="width:100%">
<input matInput type="emai"): ng:///DynamicTestModule/LoginComponent.html@27:75
There is no directive with "exportAs" set to "ngModel" (" <input matInput type="email" name="email" placeholder="Email" [(ngModel)]="model.email" [ERROR ->]#email="ngModel" required pattern="[A-Za-z0-9._%+-]+@[A
-Za-z0-9.-]+\.[A-Za-z]{1,63}$" autofocus>
"): ng:///DynamicTestModule/LoginComponent.html@29:100
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ield style="width:100%">
<input matInput type="email" name="email" placeholder="Email" [ERROR ->][(ngModel)]="model.email" #email="ngModel" required pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-"): ng:///DynamicTestModule/LoginComp
onent.html@29:74
'mat-error' is not a known element:
1. If 'mat-error' is an Angular component, then verify that it is part of this module.
2. If 'mat-error' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("ngModel" required pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$"
autofocus>
[ERROR ->]<mat-error *ngIf="inputChecking.hasError('required')">
Please enter valid email address "): ng:///DynamicTestModule/LoginComponent.html@30:10
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <form name="form" (ngSubmit) = "login()" id="loginform" novalidate
#f = "ngForm">
[ERROR ->]<mat-form-field style="width:100%">
<input matInput type="email" name="email" placeholde"): ng:///DynamicTestModule/LoginComponent.html@28:10
There is no directive with "exportAs" set to "ngModel" ("<input matInput type="password" name="password" placeholder="Password" [(ngModel)]="model.password" [ERROR ->]#password="ngModel" required>
<mat-error *ngIf="inputChecking.hasError('required')">
"): ng:///DynamicTestModule/LoginComponent.html@38:112
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("e="width:100%">
<input matInput type="password" name="password" placeholder="Password" [ERROR ->][(ngModel)]="model.password" #password="ngModel" required>
<mat-error *ngIf="inputChecking"): ng:///DynamicTestModule/LoginComponent.html@38:83
'mat-error' is not a known element:
1. If 'mat-error' is an Angular component, then verify that it is part of this module.
2. If 'mat-error' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("sword" placeholder="Password" [(ngModel)]="model.password" #password="ngModel"
required>
[ERROR ->]<mat-error *ngIf="inputChecking.hasError('required')">
Password is <b>required</b>
"): ng:///DynamicTestModule/LoginComponent.html@39:10
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<!--</mat-error>-->
</mat-form-field>
[ERROR ->]<mat-form-field style="width:100%">
<input matInput type="password" name="password" plac"): ng:///DynamicTestModule/LoginComponent.html@37:10
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("ayout="column" fxFlex="70" fxLayoutAlign="center start">
<p class="mrg_btm"><a [ERROR ->][routerLink]="['/patient/forgot/password']">Forgot password?</a></p>
</div>
"): ng:///DynamicTestModule/LoginComponent.html@45:42
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:1021:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14851:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:24708:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:24695:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24638:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:24638:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24556:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:1012:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:24554:1)
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:1021:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14851:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:24708:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:24695:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24638:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:24638:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24556:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:1012:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:24554:1)
Expected undefined to be truthy.
at <Jasmine>
at UserContext.<anonymous> src/app/login/login.component.spec.ts:23:23)
at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/proxy.js:128:1)
Chrome 70.0.3538 (Windows 7 0.0.0) LoginComponent should create login component FAILED
Failed: Template parse errors:
There is no directive with "exportAs" set to "ngForm" ("sage">{{message}}</p>
<form name="form" (ngSubmit) = "login()" id="loginform" novalidate [ERROR ->]#f = "ngForm">
<mat-form-field style="width:100%">
<input matInput type="emai"): ng:///DynamicTestModule/LoginComponent.html@27:75
There is no directive with "exportAs" set to "ngModel" (" <input matInput type="email" name="email" placeholder="Email" [(ngModel)]="model.email" [ERROR ->]#email="ngModel" required pattern="[A-Za-z0-9._%+-]+@[A
-Za-z0-9.-]+\.[A-Za-z]{1,63}$" autofocus>
"): ng:///DynamicTestModule/LoginComponent.html@29:100
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ield style="width:100%">
<input matInput type="email" name="email" placeholder="Email" [ERROR ->][(ngModel)]="model.email" #email="ngModel" required pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-"): ng:///DynamicTestModule/LoginComp
onent.html@29:74
'mat-error' is not a known element:
1. If 'mat-error' is an Angular component, then verify that it is part of this module.
2. If 'mat-error' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("ngModel" required pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$"
autofocus>
[ERROR ->]<mat-error *ngIf="inputChecking.hasError('required')">
Please enter valid email address "): ng:///DynamicTestModule/LoginComponent.html@30:10
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <form name="form" (ngSubmit) = "login()" id="loginform" novalidate
#f = "ngForm">
[ERROR ->]<mat-form-field style="width:100%">
<input matInput type="email" name="email" placeholde"): ng:///DynamicTestModule/LoginComponent.html@28:10
There is no directive with "exportAs" set to "ngModel" ("<input matInput type="password" name="password" placeholder="Password" [(ngModel)]="model.password" [ERROR ->]#password="ngModel" required>
<mat-error *ngIf="inputChecking.hasError('required')">
"): ng:///DynamicTestModule/LoginComponent.html@38:112
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("e="width:100%">
<input matInput type="password" name="password" placeholder="Password" [ERROR ->][(ngModel)]="model.password" #password="ngModel" required>
<mat-error *ngIf="inputChecking"): ng:///DynamicTestModule/LoginComponent.html@38:83
'mat-error' is not a known element:
1. If 'mat-error' is an Angular component, then verify that it is part of this module.
2. If 'mat-error' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("sword" placeholder="Password" [(ngModel)]="model.password" #password="ngModel"
required>
[ERROR ->]<mat-error *ngIf="inputChecking.hasError('required')">
Password is <b>required</b>
"): ng:///DynamicTestModule/LoginComponent.html@39:10
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<!--</mat-error>-->
</mat-form-field>
[ERROR ->]<mat-form-field style="width:100%">
<input matInput type="password" name="password" plac"): ng:///DynamicTestModule/LoginComponent.html@37:10
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("ayout="column" fxFlex="70" fxLayoutAlign="center start">
<p class="mrg_btm"><a [ERROR ->][routerLink]="['/patient/forgot/password']">Forgot password?</a></p>
</div>
"): ng:///DynamicTestModule/LoginComponent.html@45:42
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:1021:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14851:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:24708:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:24695:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24638:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:24638:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24556:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:1012:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:24554:1)
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:1021:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14851:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:24708:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:24695:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24638:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:24638:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24556:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:1012:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:24554:1)
Expected undefined to be truthy.
at <Jasmine>
at UserContext.<anonymous> src/app/login/login.component.spec.ts:23:23)
at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/proxy.js:128:1)
at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
Chrome 70.0.3538 (Windows 7 0.0.0): Executed 1 of 1 (1 FAILED) (0 secs / 0 secs)
Chrome 70.0.3538 (Windows 7 0.0.0) LoginComponent should create login component FAILED
Failed: Template parse errors:
There is no directive with "exportAs" set to "ngForm" ("sage">{{message}}</p>
<form name="form" (ngSubmit) = "login()" id="loginform" novalidate [ERROR ->]#f = "ngForm">
<mat-form-field style="width:100%">
<input matInput type="emai"): ng:///DynamicTestModule/LoginComponent.html@27:75
There is no directive with "exportAs" set to "ngModel" (" <input matInput type="email" name="email" placeholder="Email" [(ngModel)]="model.email" [ERROR ->]#email="ngModel" required pattern="[A-Za-z0-9._%+-]+@[A
-Za-z0-9.-]+\.[A-Za-z]{1,63}$" autofocus>
"): ng:///DynamicTestModule/LoginComponent.html@29:100
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ield style="width:100%">
<input matInput type="email" name="email" placeholder="Email" [ERROR ->][(ngModel)]="model.email" #email="ngModel" required pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-"): ng:///DynamicTestModule/LoginComp
onent.html@29:74
'mat-error' is not a known element:
1. If 'mat-error' is an Angular component, then verify that it is part of this module.
2. If 'mat-error' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("ngModel" required pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{1,63}$"
autofocus>
[ERROR ->]<mat-error *ngIf="inputChecking.hasError('required')">
Please enter valid email address "): ng:///DynamicTestModule/LoginComponent.html@30:10
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <form name="form" (ngSubmit) = "login()" id="loginform" novalidate
#f = "ngForm">
[ERROR ->]<mat-form-field style="width:100%">
<input matInput type="email" name="email" placeholde"): ng:///DynamicTestModule/LoginComponent.html@28:10
There is no directive with "exportAs" set to "ngModel" ("<input matInput type="password" name="password" placeholder="Password" [(ngModel)]="model.password" [ERROR ->]#password="ngModel" required>
<mat-error *ngIf="inputChecking.hasError('required')">
"): ng:///DynamicTestModule/LoginComponent.html@38:112
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("e="width:100%">
<input matInput type="password" name="password" placeholder="Password" [ERROR ->][(ngModel)]="model.password" #password="ngModel" required>
<mat-error *ngIf="inputChecking"): ng:///DynamicTestModule/LoginComponent.html@38:83
'mat-error' is not a known element:
1. If 'mat-error' is an Angular component, then verify that it is part of this module.
2. If 'mat-error' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("sword" placeholder="Password" [(ngModel)]="model.password" #password="ngModel"
required>
[ERROR ->]<mat-error *ngIf="inputChecking.hasError('required')">
Password is <b>required</b>
"): ng:///DynamicTestModule/LoginComponent.html@39:10
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<!--</mat-error>-->
</mat-form-field>
[ERROR ->]<mat-form-field style="width:100%">
<input matInput type="password" name="password" plac"): ng:///DynamicTestModule/LoginComponent.html@37:10
Can't bind to 'routerLink' since it isn't a known property of 'a'. ("ayout="column" fxFlex="70" fxLayoutAlign="center start">
<p class="mrg_btm"><a [ERROR ->][routerLink]="['/patient/forgot/password']">Forgot password?</a></p>
</div>
"): ng:///DynamicTestModule/LoginComponent.html@45:42
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:1021:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14851:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:24708:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:24695:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24638:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:24638:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24556:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:1012:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:24554:1)
Error: Template parse errors:
at <Jasmine>
at syntaxError node_modules/@angular/compiler/fesm5/compiler.js:1021:1)
at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse node_modules/@angular/compiler/fesm5/compiler.js:14851:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate node_modules/@angular/compiler/fesm5/compiler.js:24708:1)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate node_modules/@angular/compiler/fesm5/compiler.js:24695:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24638:48
at <Jasmine>
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents node_modules/@angular/compiler/fesm5/compiler.js:24638:1)
at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/compiler/fesm5/compiler.js:24556:1
at Object.then node_modules/@angular/compiler/fesm5/compiler.js:1012:33)
at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndAllComponents node_modules/@angular/compiler/fesm5/compiler.js:24554:1)
Expected undefined to be truthy.
at <Jasmine>
at UserContext.<anonymous> src/app/login/login.component.spec.ts:23:23)
at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:388:1)
at ProxyZoneSpec.push../node_modules/zone.js/dist/proxy.js.ProxyZoneSpec.onInvoke node_modules/zone.js/dist/proxy.js:128:1)
at ZoneDelegate../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke node_modules/zone.js/dist/zone.js:387:1)
Chrome 70.0.3538 (Windows 7 0.0.0) ERROR
{
"message": "An error was thrown in afterAll\n[object ErrorEvent]",
"str": "An error was thrown in afterAll\n[object ErrorEvent]"
Chrome 70.0.3538 (Windows 7 0.0.0) ERROR
{
"message": "An error was thrown in afterAll\n[object ErrorEvent]",
"str": "An error was thrown in afterAll\n[object ErrorEvent]"
}
Chrome 70.0.3538 (Windows 7 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0 secs / 0 secs)
Chrome 70.0.3538 (Windows 7 0.0.0) ERROR
{
"message": "An error was thrown in afterAll\n[object ErrorEvent]",
"str": "An error was thrown in afterAll\n[object ErrorEvent]"
Chrome 70.0.3538 (Windows 7 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.311 secs / 0 secs)