The idea candidate should be familiar with CircleCI and Selenium. Here is our current (broken) CircleCI configuration:
```
version: 2
jobs:
build:
parallelism: 1
docker:
- image: circleci/elixir:1.7.4-node-browsers
environment:
MIX_ENV: test
- image: redis:3.0.6
- image: circleci/postgres:9.5.11-alpine
environment:
POSTGRES_USER: ubuntu
POSTGRES_DB: circle_test
POSTGRES_PASSWORD:
steps:
- checkout
- run: mix local.hex --force
- run: mix local.rebar --force
- run: ./scripts/install-lp mix
- run: mix do deps.get, deps.compile, compile, ecto.migrate
- run: npm install
- run: ./node_modules/.bin/webpack
- run: mix phx.digest
- type: shell
name: Initialize Working Directory
pwd: /
command: |
mkdir /tmp/screenshots
# Setup for chromedriver and selenium ====================================
- run:
name: Running selelnium server in the background
========================================================================
- run: mix test --exclude not_working --exclude languages
- run: npm test
- store_artifacts:
path: /tmp/screenshots
- save_cache:
key: dependency-cache
paths:
- vendor/bundle
- -/dependencies
- -/.mix
- _build
- deps
```
Currently, tests run successfully locally once `xvfb-run java -Dwebdriver.chrome.driver=/usr/bin/chromedriver -jar selenium-server-standalone-3.141.59.jar` is running. When we try to run the tests on CircleCI, we are unable to connect.
The objective is to get the tests running and passing on a display (maybe XVFB) that has a configurable resolution.
Full selenium-logs attached as a file.
```
22:01:04.220 INFO - Selenium Server is up and running
22:06:07.308 INFO - SessionCleaner initialized with insideBrowserTimeout 0 and clientGoneTimeout 1800000 polling every 180000
22:06:07.328 INFO - Executing: [new session: Capabilities [{ rotatable=false, nativeEvents=false, browserName=chrome, takesScreenshot=true, javascriptEnabled=false, chromeOptions={ args=[--user-agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36]} , version=, cssSelectorsEnabled=true, platform=ANY} ]])
22:06:07.343 INFO - Creating a new session for Capabilities [{ rotatable=false, nativeEvents=false, browserName=chrome, takesScreenshot=true, javascriptEnabled=false, chromeOptions={ args=[--user-agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36]} , version=, cssSelectorsEnabled=true, platform=ANY} ]
Starting ChromeDriver 74.0.3729.6 on port 27796
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1558389967.548][SEVERE]: bind() failed: Cannot assign requested address (99)
22:06:08.363 INFO - Detected dialect: OSS
22:06:08.377 INFO - Done: [new session: Capabilities [{ rotatable=false, nativeEvents=false,
```
About the recuiterMember since May 20, 2018 See Marry
from Virginia, United States