Skip to content

Commit

Permalink
feat: Add test into firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Leko committed Dec 14, 2016
1 parent 864e741 commit d0df7a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Example of headless scenario testing used by [selenese-runner](https://github.co
```
git clone git@github.com:Leko/example-selenese-runner-with-hub.git
docker-compose build
docker-compose up -d chrome firefox
docker-compose up selenese
```

Expand Down
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- docker-compose build selenese
test:
override:
- docker-compose up selenese
- docker-compose run selenese run.sh https://google.com chrome
- docker-compose run selenese run.sh https://google.com firefox
post:
- mv coverage $CIRCLE_TEST_REPORTS/junit
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# https://discuss.circleci.com/t/docker-compose-run-exit-codes/2641/2
set -o errexit

selenese-runner \
--baseurl $1 \
--remote-browser $2 \
Expand Down

0 comments on commit d0df7a8

Please sign in to comment.