Behat\Mink\Exception\DriverException: Could not open connection: Failed to connect to localhost port 4444 after 2 ms: Couldn't connect to server

Created on 31 October 2023, about 1 year ago
Updated 3 September 2024, 5 months ago

After I upgraded my drupal site from 9.5 to 10.1.5 I made the required changes on FunctionalJavascriptTestBase:
from
abstract class FunctionalJavascriptTestBase extends ExistingSiteWebDriverTestBase
to
abstract class FunctionalJavascriptTestBase extends ExistingSiteSelenium2DriverTestBase

but while running the tests I am getting this error: Behat\Mink\Exception\DriverException: Could not open connection: Failed to connect to localhost port 4444 after 2 ms: Couldn't connect to server

I am using docker for my local setup, chrome image is up but using network_mode: host so I can't add this port 4444 in my docker-compose file.
Please suggest how can I make this work

💬 Support request
Status

Postponed: needs info

Version

11.0 🔥

Component
PHPUnit 

Last updated 23 minutes ago

Created by

🇮🇳India Ankita31

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024