Hi aurelien-reeves
Testing Github is a sample test. I wanted to run a test completely and then go to my main test.
I added options.addArguments("window-size=1920,1080") and I run the test and everything worked fine and tests run in the console.
Then I pushed my changes and the pipeline passed correctly.
THANK you a lot, my friend. 🙂
another question. It seems the pipeline's output is similar in the build stage and the test stage.
this is my gitlab-ci:
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
Should I remove one of them and let one of them stay??
I do forget all about the driver.manage().window().maximize() in headLess mode.