This basic Angular application showcases the usage of sg-protractor-tools for writing end-to-end tests with Protractor.
The test cases may be found in the test/e2e folder.
Notice the special settings in protractor.conf.js regarding the required arguments/flags Google Chrome needs to be started with.
Execute the following to install all necessary dependencies of the demo application:
npm install
bower install- Start a local server by executing
grunt serve. The server will be available athttp://localhost:9000by default. - Run the e2e tests by executing
grunt protractorfrom a second terminal. The test cases will run against the server started using the above command.
The test cases highlighting the usage of the sg-protractor-tools library can be found in the test/e2e/ folder.
The memory.js test case will generate its result files in the example folder.