I am trying to setup gitlab cicd for firefox but getting error 'ERROR webdriver: Request failed with status 500 due to unknown error: Process unexpectedly closed with status 255' This is my gitlab yml contains:
stages:
- test
webdriverio_chrome:
stage: test
image: atools/firefox-headless:java11-node16-latest # Specify the image for the job
before_script:
- echo "Installing dependencies..."
- npm install
- npm install -g allure-commandline --save-dev
script:
- npm run wdio
after_script:
- npm run generatereport
artifacts:
name: chromeReport
paths:
- allure-report/*
- allure-results/*
This is what I am getting when running the pipeline in gitlab:
I have tried npm install geckodriver as well but still it is not working.