January 18, 2018, 7:05pm
I have a pipeline with a selenuim service. Look the code below:
- 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"
branch: [yayurist-dev, sberbank-dev, root, docker]
event: [push, pull_request]push, pull_request]
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
The question How I can access the
Here is a working Selenium example you can use for reference
January 18, 2018, 7:26pm
Thanks for fast reponse. I’ve checked to the reference example. I have the same settings but Chrome still show connection refused. Look at the screenshot. In the screenshot I’am accessing another step in the pipeline. May be is it dictated by that I’m running step
sp in parallel?
January 18, 2018, 7:29pm
Before that I’ve had step with name app and I’ve figured out the Chrome automatically redirect
https://app also as all TLD
Is ther way to connect selenium and image and debug?
January 19, 2018, 6:46am
@bradrydzewski Any suggestions?
January 19, 2018, 3:33pm
I’m sorry. I forgot to start nginx before test. The problem is solved