Skip to content

Commit

Permalink
Move back to standard selenium port 4444
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Jun 10, 2020
1 parent 86e0bae commit 47cb741
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 42 deletions.
61 changes: 21 additions & 40 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ aliases:
store_artifacts:
path: /tmp/artifact/

job_filters: &job_filters
branches:
ignore:
- /1\.2\..*/
- /1\.3\..*/
- /1\.4\..*/
- /1\.5\..*/
- /1\.6\..*/

# Reuseable commands
commands:
prove:
Expand Down Expand Up @@ -164,7 +173,7 @@ executors:

# Define jobs
jobs:
test_nodojo_chrome:
test_webpack_chrome:
<<: *defaults
executor:
name: test
Expand All @@ -176,7 +185,7 @@ jobs:
- start_plackup
- start_proxy
- prove
test_nodojo_firefox:
test_webpack_firefox:
<<: *defaults
executor:
name: test
Expand All @@ -188,7 +197,7 @@ jobs:
- start_plackup
- start_proxy
- prove
test_nodojo_opera:
test_webpack_opera:
<<: *defaults
executor:
name: test
Expand All @@ -200,7 +209,7 @@ jobs:
- start_plackup
- start_proxy
- prove
test_nodojo_phantomjs:
test_webpack_phantomjs:
<<: *defaults
executor:
name: test
Expand All @@ -221,47 +230,19 @@ orbs:
workflows:
workflow:
jobs:
- test_nodojo_chrome:
filters:
branches:
ignore:
- /1\.2\..*/
- /1\.3\..*/
- /1\.4\..*/
- /1\.5\..*/
- /1\.6\..*/
- test_webpack_chrome:
filters: *job_filters
pre-steps:
- diagnostic-orb/env-info
- diagnostic-orb/memory
post-steps:
- diagnostic-orb/store-report

- test_nodojo_firefox:
filters:
branches:
ignore:
- /1\.2\..*/
- /1\.3\..*/
- /1\.4\..*/
- /1\.5\..*/
- /1\.6\..*/
- test_webpack_firefox:
filters: *job_filters

- test_nodojo_opera:
filters:
branches:
ignore:
- /1\.2\..*/
- /1\.3\..*/
- /1\.4\..*/
- /1\.5\..*/
- /1\.6\..*/
- test_webpack_opera:
filters: *job_filters

- test_nodojo_phantomjs:
filters:
branches:
ignore:
- /1\.2\..*/
- /1\.3\..*/
- /1\.4\..*/
- /1\.5\..*/
- /1\.6\..*/
- test_webpack_phantomjs:
filters: *job_filters
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ before_script:
- cp t/.proverc ./
- coverage-setup
- sed -e "s#{ROOT}#$PWD#" doc/conf/nginx-travis.conf >/tmp/nginx.conf
- ((phantomjs --webdriver=4422 2>/dev/null >/dev/null &) && echo "PhantomJS started succesfully") || (echo "Failed to start PhantomJS!" ; exit 1)
- ((phantomjs --webdriver=4444 2>/dev/null >/dev/null &) && echo "PhantomJS started succesfully") || (echo "Failed to start PhantomJS!" ; exit 1)
- PERL5OPT="$PERL5OPT $HARNESS_PERL_SWITCHES" starman --preload-app --pid starman.pid --workers $(test-jobs) -Ilib -Iold/lib --port 5762 bin/ledgersmb-server.psgi --access-log /tmp/plackup-access.log 2> /tmp/plackup-error.log &
- nginx -c /tmp/nginx.conf
# display the available resources
Expand Down
2 changes: 1 addition & 1 deletion t/.pherkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ default:
wait_timeout: 3000
window_size: 1024x1280
caps:
port: 4422
port: 4444
remote_server_addr: ${REMOTE_SERVER_ADDR}
browser_name: ${BROWSER}
Pherkin::Extension::PageObject:
Expand Down

0 comments on commit 47cb741

Please sign in to comment.