Skip to content

owen-pengtao/HeadlessProtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeadlessProtractor

run protractor test on headless ubuntu server in docker

Step 1: Install docker on ubuntu

Docker installation: https://docs.docker.com/installation/ubuntulinux/

For Mac: https://docs.docker.com/docker-for-mac/install/

For Ubuntu: https://docs.docker.com/engine/installation/linux/ubuntu/

if you have installed, try to upgrade.
#docker-machine upgrade

then, logout and relogin ubuntu.

Step 2: Checkout code, build docker image

#git clone https://github.com/owen-pengtao/HeadlessProtractor.git HeadlessProtractor
#cd HeadlessProtractor/docker
#./rebuild_all.sh

if you are using ubuntu, maybe need run below command to change folder ~/.npm_docker owner and group.

#sudo chown -R your_name:your_group ~/.npm_docker

Step 3: Run protractor test in docker

#cd HeadlessProtractor/protractor
#./run-in-docker.sh

Manually Verify protractor test as same as it's running in docker.

#cd HeadlessProtractor/protractor
#npm install
#grunt install
#grunt test:e2e

About

run protractor test on headless ubuntu server in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published