this packages have :
- Selenium
- Google-chrome Headless
- Jest
- utils for simulate chrome
- go to docker hub
- download container
- use this image
integration_test:
image: akarah:testing
needs: ["build"]
script:
- npm run dev &
- npm test -- tests/Selenium.test.js --host=selenium__standalone-chrome
variables:
SELENIUM_HOST: "selenium-standalone-chrome"
services:
- name: selenium/standalone-chrome:latest
this image replace before_script section with many operation for initialise test software !