Hi!
I'm wondering about whats recommended for writing tests for front-end with Angular 6? Can't seem to find any information about it in the documentation.
Thank you :)
5 Answer(s)
-
0
Hi @larsfk
AspNet Zero doesn't have much UI tests but we are using e2e tests. You can check it here https://github.com/aspnetzero/aspnet-zero-core/tree/dev/angular/e2e.
For more information you can check angular-cli's e2e test documents.
-
0
When running e2e I get this error:
× should login as host admin - Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. at ontimeout (timers.js:425:11) at tryOnTimeout (timers.js:289:5) at listOnTimeout (timers.js:252:5) at Timer.processTimers (timers.js:212:10)
-
0
@larsfk
Have you runned the *.Host project before running the e2e tests ?
-
0
Yes, the API and Angular is up and running
-
1
Created a github issue https://github.com/aspnetzero/aspnet-zero-core/issues/1944