上QQ阅读APP看书,第一时间看更新
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:
- Update the spec to expect the correct header as follows:
e2e/app.e2e-spec.ts
expect(page.getParagraphText()).toEqual('LocalCast Weather')
- 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.
- Commit your code changes.