Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate selenium grid to speed up cucumbers #17

Open
polographer opened this issue Jan 12, 2024 · 0 comments
Open

integrate selenium grid to speed up cucumbers #17

polographer opened this issue Jan 12, 2024 · 0 comments
Labels
enhancement New feature or request low_priority tasks that can be delayed

Comments

@polographer
Copy link
Contributor

there is a way to install selenium grid and run cucumbers on a separate container, that will remove the need to install chrome and do all the hacks to get the chromedriver, we just need to patch the cucumber-env.rb on the fly, this will remove the need to keep maintaining the cucumber integration and potentially we can paralelize the execution on the local machine, another great feature that testing edge or firefox its painless

MA has a similar feature for arm macs; https://github.com/health-connector/enroll/blob/master/.devcontainer/docker-compose.yml

  selenium-chrome:
    hostname: selenium-chrome
    image: seleniarm/standalone-chromium:latest
    shm_size: 2gb
    labels:
      - "autoheal=true"
    ports:
      - "4444:4444"
      - "7900:7900"
    healthcheck:
      test: '/opt/bin/check-grid.sh --host 0.0.0.0 --port 4444'
      interval: 120s
      timeout: 60s
      retries: 30
      # start_period: 20s
@polographer polographer added enhancement New feature or request low_priority tasks that can be delayed labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low_priority tasks that can be delayed
Projects
None yet
Development

No branches or pull requests

1 participant