Skip to content

Commit

Permalink
readme now has instructions for installing headless chrome and runnin…
Browse files Browse the repository at this point in the history
…g acceptance tests for ubuntu 14
  • Loading branch information
thewolfpack committed Jan 4, 2018
1 parent 2609b31 commit f04195b
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 30 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export API_URL="http://<YOUR_API_SERVER>:<YOUR_API_PORT>/api"
TEST_URL=""http://<YOUR_TEST_SERVER>"
export TEST_URL
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,21 @@ lib32z1
sudo apt-get install -y python-gobject-2
sudo apt-get install -y curl git
sudo apt install libnss3
# check if google-chrome installed with
google-chrome-stable --headless
npm install
./node_modules/karma/bin/karma start --single-run --browsers ChromeHeadless karma.conf.js
sudo curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
sudo su -c "echo 'deb http://dl.google.com/linux/chrome/deb/ stable main' >> /etc/apt/sources.list.d/google-chrome.list"
sudo apt-get -y update
sudo apt-get -y install google-chrome-stable
# make sure .env file has test_url=<servername>
. .env; bundle exec cucumber
```
Expand Down
Loading

0 comments on commit f04195b

Please sign in to comment.