Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (57 sloc) 1.1 KB

To run tests you need to follow this simple instruction and write only a few simple commands in your terminal
Let's start

  • Clone CommonsNet repository
  git clone
  • Open cloned repository
cd Commonsnet 
  • Install Vagrant
vagrant up
  • Connect to Vagrant
vagrant ssh
  • Open your Vagrant folder
cd /vagrant 
  • Then run selenium file
  • Next open provision folder
cd provision
  • Install java-jar
DISPLAY=:1 xvfb-run java -jar selenium-server-standalone-2.41.0.jar 

Your selenium server should be up and running

  • Then open a new terminal - remember not to close the first one!

  • Open your CommonsNet repository again

cd CommonsNet
  • Connect to Vagrant again
vagrant ssh
  • Open Vagrant folder again
cd /vagrant
  • Then open tests folder
cd tests
  • And finally run Protractor test
protractor conf.js 

That's it. You should see a result of your test in a terminal.

You can’t perform that action at this time.