From 4aa6fdc508c543c6595274243a82a17ae846448e Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 6 Jan 2026 12:18:04 +0100 Subject: [PATCH] Fix the setup for uploads in the CI tests Older selenium versions support a non-standard feature to upload a file to the runner, which is used by the Mink driver when available. Newer Selenium versions implementing the W3C protocol don't support this anymore. Attaching a file to a file input requires using a file path that already exists on the runner. this configures the Mink testsuite to properly share the fixtures with the docker image of the runner. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef7c08d..18e843f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: - name: Start Selenium & Mink test server run: | mkdir logs - docker run --net host --name selenium --volume /dev/shm:/dev/shm --shm-size 2g "selenium/standalone-firefox:${{ matrix.selenium }}" &> logs/selenium.log & + docker run --net host --name selenium --volume /dev/shm:/dev/shm --volume ./vendor/mink/driver-testsuite/web-fixtures:/fixtures --shm-size 2g "selenium/standalone-firefox:${{ matrix.selenium }}" &> logs/selenium.log & vendor/bin/mink-test-server &> logs/mink-test-server.log & while ! nc -z localhost 4444