run cucumber selenium tests in gitlab-ci
Hi I have a selenium cucumber project with some tests. The tests worked and the chromeDriver had launch when I run the -mvn clean compile test in my IDE. I created this .gitlab-ci.yml in my project's root: image: markhobson/maven-chrome:jdk-11 stages: - build - test variables: MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" cache: paths: - .m2/repository/ - target/ build: stage: build script: - mvn $MAVEN_OPTS clean package - mvn compile test: stage: test script: - mvn test When I run the pipeline, I face this error in the console: Unable to load browser: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '4.0.0-beta-1', revision: '9c03156c2b' System info: host: 'runner-fa6cab46-project-25183469-concurrent-0', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.78-coreos', java.version: '11.0.10' Driver info: org.openqa.selenium.chrome.ChromeDriver What can I do for running the tests?8.9KViews0likes16CommentsAquiring Floating License from within docker container in gitlab-ci pipeline
Hi, I am starting theready-api-soapui-testrunner (https://hub.docker.com/r/smartbear/ready-api-soapui-testrunner) from within a git pipeline. The container starts and connects to the license server, but the license server asks which license type i want to aquire. At this point I am running in a git runner and there is no way to provide input to the container. Is there any way to provide this in the docker run command or something alike? Heres where the pipeline times out waiting for input: running image $ docker run -v="testproject":/project -v="testprojectr":/reports -e LICENSE_SERVER="xx.xx.xx.xx:9999" -i smartbear/ready-api-soapui-testrunner:latest Please select the tool for which you want to get the floating license: 1. SoapUI Pro 2. LoadUI Pro 3. Secure (if you have an old license) 4. ServiceV Pro 5. VirtServer 6. ReadyAPI Bundle 7. TestEngine 8. swaggerhub 9. swaggerhub2 Obviously at this point i cannot provide console input. Kind regardsSolved1.5KViews0likes5Comments