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.ts
expect(page.getParagraphText()).toEqual('LocalCast Weather')
  1. Rerun the tests and they should be passing now:
Jasmine started

web-app App
√ should display welcome message

Executed 1 of 1 spec SUCCESS in 1 sec.
  1. Commit your code changes.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.134.76.72