I am trying to run parallel test using selenium grid setup
The test runs successfully on bitbucket pipelines but doesn't execute in parallel however the same scripts runs fine on my local docker setup
Below is how my bitbucket-pipelines.yml file looks like
image: maven
.6.1-jdk-8
pipelines:
default:
- step:
name: E2E tests
size: 2x
caches:
- maven
script:
- mvn -B clean install # -B batch mode makes Maven less verbose
services:
- chrome
- firefox
- hub
definitions:
services:
chrome:
environment:
HUB_PORT_4444_TCP_ADDR: localhost
HUB_PORT_4444_TCP_PORT: 4444
NODE_MAX_INSTANCE: 8
NODE_MAX_SESSION: 8
image: selenium/node-chrome-debug
memory: 2048
firefox:
environment:
DISPLAY: :88
HUB_PORT_4444_TCP_ADDR: localhost
HUB_PORT_4444_TCP_PORT: 4444
NODE_MAX_INSTANCE: 8
NODE_MAX_SESSION: 8
SE_OPTS: -port 5556
image: selenium/node-firefox-debug
memory: 1536
hub:
environment:
SE_OPTS: -host 127.0.0.1
image: selenium/hub
memory: 2048