April 2017
Beginner to intermediate
378 pages
7h 57m
English
I am going to follow the article named E2E (End-to-End) Testing in Ionic 2 - An Introduction (https://www.joshmorony.com/e2e-end-to-end-testing-in-ionic-2-an-introduction/) to set up the E2E environment.
We will be using the same example on which we have implemented the unit tests.
First install protractor by running the following command:
npm install protractor --save-dev
Next, install the webdriver-manager and update it:
npm install -g webdriver-managerwebdriver-manager update
Now, we will install the dependencies for Protractor by running the following command:
npm install jasmine-spec-reporter ts-node connect @types/jasmine@2.5.41 @types/node --save-dev
Do notice the version of Jasmine types. It is hardcoded ...
Read now
Unlock full access