Hello!
I have a pipeline with a selenuim service. Look the code below:
pipeline:
sandbox:
image: <custom_image>
group: tests
name: sandbox
commands:
- bash -c "cd /app/tests && /app/vendor/bin/codecept run acceptance -v -f -c codeception/dev/ sp/ --env dev --xml=/app/tests/codeception/_log/dev.sp.acceptance.xml"
- bash -c "cd /app/tests && /app/vendor/bin/codecept run acceptance -v -f -c codeception/dev/ llc/ --env dev --xml=/app/tests/codeception/_log/dev.sp.acceptance.xml"
when:
branch: [yayurist-dev, sberbank-dev, root, docker]
event: [push, pull_request]push, pull_request]
services:
webdriver:
image: selenium/standalone-chrome
In my custom image I have Nginx on port 80 and with option in vritual host server_name: sandbox
. When I run acceptance tests I get error in Chrome connections refiused
to sandbox
.
The question How I can access the sandbox
from webdriver
service