Test Angular 2 UI
Now that you know how to test AngularJS 1.x UI, let’s explore how to use Protractor to test the integration of the Angular UI that we developed in Chapter 9, Test-Drive Angular 2.
Angular 2 is in beta at the time of this writing. Angular-specific capabilities of Protractor, like accessing elements with the attribute ngFor, are still in development. But, that shouldn’t stop us from using Protractor to test Angular UI.
Change to the tdjsa/testangular2/todo directory in your workspace—this is the directory where you created the Angular UI for the TO-DO application. We will write integration tests using Protractor in this workspace.
The app.js and config.json files in this project are the same as the ones we used in the project ...