Unit testing is only one aspect of testing that only tests the responsibility of every piece of code. However, when it comes to testing the flow and feature of any component, module, or full application, then end-to-end (e2e) testing is the only solution.
In this chapter, we will look at the end-to-end testing flow step by step through all the layers of an application. We will be introduced to Protractor, the end-to-end testing tool from the Angular team. We already know the reason behind it, why it was created, and what kind of problems it solves.
In this chapter, we will go through: