In the preceding sections, you learned about unit testing using Jasmine. In this section, you will learn about using the Protractor framework for the end-to-end testing of Angular applications.
This is how the official site explains Protractor:
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Protractor framework is packaged in the Angular CLI tool, and we can find the e2e folder created in our main project directory:
You will learn to write end-to-end tests for your Angular applications and keep them under the e2e folder.
Remember that it's a best practice to create separate E2E scripts for each functionality or page.