Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Sample angular application that has protractor integration tests
branch: master
Failed to load latest commit information.
app Add loading flag
server Add timeout to make the server slow
test upgrade to protractor 1rc4
LICENSE Initial commit update webdriver-maanger
package.json Upgrade to protractor 1.6.1
protractor-config.js Upgrade to protractor 1.6.1

Sample application for the Angular meetup

This is a sample angular application that has protractor integration tests.

Here are the instructions to run the code from the meetup.

Assume that the code is under ~/dev/protractor-meetup

See the slides

Get the code

git clone

Start Mongo DB

Download Mongo DB from

Create a directory to hold the data and start mongo:

~/dev/protractor-meetup$ mkdir db

Start Mongo DB with the dbpath flag

~/Downloads/mongodb-osx-x86_64-2.4.8/bin$ ./mongod --dbpath ~/dev/protractor-meetup/db/

Get Node

Download and install

Install dependencies

~/dev/protractor-meetup$ npm install

Run the server

Run the express server. It will start a server on port 3000.

~/dev/protractor-meetup$ node server.js

See the app

You should be able to see the app in the following URL:



Start the selenium standalone server

./node_modules/protractor/bin/webdriver-manager update
./node_modules/protractor/bin/webdriver-manager start

Run the protractor tests.

~/dev/protractor-meetup$ ./node_modules/protractor/bin/protractor protractor-config.js

Run the unit tests

~/dev/protractor-meetup$ karma start
Something went wrong with that request. Please try again.