Add ability to test on Firefox using selenium

Created on 19 July 2024, 10 months ago
Updated 23 July 2024, 10 months ago

Problem/Motivation

Once ๐Ÿ“Œ Use selenium/standalone-chrome instead of our chromedriver image Needs work lands we will be able to test using selenium/standalone-firefox.

Steps to reproduce

Add

.with-selenium-firefox: &with-selenium-firefox
  name: selenium/standalone-firefox:127.0
  alias: selenium
  variables:
    JAVA_OPTS: "-Dwebdriver.firefox.logfile=/builds/geckodriver.log"
    SE_NODE_OVERRIDE_MAX_SESSIONS: "true"
    SE_NODE_MAX_SESSIONS: "5"
    SE_START_XVFB: "false"
    SE_START_VNC: "false"

'๐Ÿ–ฑ๏ธ๏ธ๏ธ PHPUnit Functional Javascript (selenium firefox)':
  <<: [ *with-composer, *run-tests, *default-job-settings ]
  when: manual
  parallel: 4
  variables:
    TESTSUITE: PHPUnit-FunctionalJavascript
    CONCURRENCY: 15
    KUBERNETES_CPU_REQUEST: "24"
    MINK_DRIVER_ARGS_WEBDRIVER: $MINK_DRIVER_ARGS_WEBDRIVER_FIREFOX_W3C
  services:
    - <<: *with-database
    - <<: *with-selenium-firefox
  after_script:
    - echo $MINK_DRIVER_ARGS_WEBDRIVER
    - sed -i "s#$CI_PROJECT_DIR/##" ./sites/default/files/simpletest/phpunit-*.xml || true
    - cp /builds/geckodriver.log ./

To gitlab pipeline.

Proposed resolution

Remaining tasks

User interface changes

None

API changes

TBD - hopefully none

Data model changes

None

Release notes snippet

TBD

๐Ÿ“Œ Task
Status

Postponed

Version

11.0 ๐Ÿ”ฅ

Component
PHPUnitย  โ†’

Last updated 1 day ago

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom alexpott ๐Ÿ‡ช๐Ÿ‡บ๐ŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024