I want to run my selenium webdriver/testNG scripts using bitbucket pipeline, a bit clueless about what to do exactly so taking help from internet and this is how my .yml looks like at the moment , it is a maven project so we need to run the pom.xml file and while running the pipeline this error appears
`image: maven:3.8.1-jdk-11
pipelines:
default:
– step:
name: Build and Test
caches:
– maven
script:
– mvn clean install
– mvn test
services:
– selenium
definitions:
services:
selenium:
image: selenium/standalone-chrome:latest`
This runs fine on JENKINS though but here I am unable to run the tests, I just need to run the tests in the 1st place to confirm that it works fine on bitbucket, how can I fix this problem?