From fb113657594b5acef3b525ab6d90fb4a30ef1b41 Mon Sep 17 00:00:00 2001 From: KamilSznajdrowicz Date: Tue, 24 Mar 2026 11:16:21 +0100 Subject: [PATCH 1/3] Migrate goutte to browserkit --- behat_ibexa_oss.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/behat_ibexa_oss.yaml b/behat_ibexa_oss.yaml index 6800eeeb..9aff142e 100644 --- a/behat_ibexa_oss.yaml +++ b/behat_ibexa_oss.yaml @@ -17,7 +17,7 @@ default: Behat\MinkExtension: files_path: '%paths.base%/vendor/ezsystems/ezplatform-admin-ui/src/lib/Behat/TestFiles/' base_url: '%env(string:WEB_HOST)%' - goutte: ~ + browserkit_http: ~ javascript_session: 'selenium' sessions: selenium: From b1ffd6d51fac7721d1449e97b6c5ca2ed6fb0f8b Mon Sep 17 00:00:00 2001 From: KamilSznajdrowicz Date: Tue, 24 Mar 2026 12:29:33 +0100 Subject: [PATCH 2/3] Add conflict with the newest version of mink browserkit driver --- behat_ibexa_oss.yaml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/behat_ibexa_oss.yaml b/behat_ibexa_oss.yaml index 9aff142e..6800eeeb 100644 --- a/behat_ibexa_oss.yaml +++ b/behat_ibexa_oss.yaml @@ -17,7 +17,7 @@ default: Behat\MinkExtension: files_path: '%paths.base%/vendor/ezsystems/ezplatform-admin-ui/src/lib/Behat/TestFiles/' base_url: '%env(string:WEB_HOST)%' - browserkit_http: ~ + goutte: ~ javascript_session: 'selenium' sessions: selenium: diff --git a/composer.json b/composer.json index 50a15de9..9fd79106 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,6 @@ "php": "^7.3 || ^8.0", "ext-json": "*", "behat/behat": "^3.11", - "behat/mink-goutte-driver": "^1.2", "behat/mink-selenium2-driver": "^1.4", "bex/behat-screenshot": "^2.1", "dmore/behat-chrome-extension": "^1.3", @@ -56,7 +55,8 @@ } }, "conflict": { - "instaclick/php-webdriver": "1.4.12" + "instaclick/php-webdriver": "1.4.12", + "friends-of-behat/mink-browserkit-driver": "1.6.3" }, "autoload-dev": { "psr-4": { From ba570708213e339a29d64ead09feff72c9ea79ab Mon Sep 17 00:00:00 2001 From: KamilSznajdrowicz Date: Tue, 24 Mar 2026 12:31:02 +0100 Subject: [PATCH 3/3] Fix --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 9fd79106..dc580247 100644 --- a/composer.json +++ b/composer.json @@ -12,6 +12,7 @@ "php": "^7.3 || ^8.0", "ext-json": "*", "behat/behat": "^3.11", + "behat/mink-goutte-driver": "^1.2", "behat/mink-selenium2-driver": "^1.4", "bex/behat-screenshot": "^2.1", "dmore/behat-chrome-extension": "^1.3",