e2e spec

After executing the e2e tests, you should see an error message similar to the one here:

*************************************************** Failures ***************************************************1) web-app App should display welcome message  - Expected 'LocalCast Weather' to equal 'Welcome to app!'.Executed 1 of 1 spec (1 FAILED) in 1 sec.

This error is similar to the unit test you fixed earlier:

  1. Update the spec to expect the correct header as follows:
e2e/app.e2e-spec.tsexpect(page.getParagraphText()).toEqual('LocalCast Weather')
  1. Rerun the tests and they should be passing now:
Jasmine started  web-app App    √ should display welcome messageExecuted 1 of 1 spec SUCCESS in 1 sec.
  1. Commit your code changes.

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.