diff --git a/behat.yml.dist b/behat.yml.dist index 0968f27..7f79103 100644 --- a/behat.yml.dist +++ b/behat.yml.dist @@ -15,32 +15,14 @@ default: files_path: "%paths.base%/vendor/sylius/sylius/src/Sylius/Behat/Resources/fixtures/" base_url: "https://127.0.0.1:8080/" default_session: symfony - javascript_session: chrome_headless + javascript_session: chrome sessions: symfony: symfony: ~ - chrome_headless: + chrome: chrome: api_url: http://127.0.0.1:9222 validate_certificate: false - chrome: - selenium2: - browser: chrome - capabilities: - browserName: chrome - browser: chrome - version: "" - marionette: null # https://github.com/Behat/MinkExtension/pull/311 - chrome: - switches: - - "start-fullscreen" - - "start-maximized" - - "no-sandbox" - extra_capabilities: - unexpectedAlertBehaviour: accept - firefox: - selenium2: - browser: firefox show_auto: false FriendsOfBehat\SymfonyExtension: diff --git a/composer.json b/composer.json index ee3ef73..b8fca4d 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ }, "require-dev": { "behat/behat": "^3.14", - "behat/mink-selenium2-driver": "~1.6.0", "bitbag/coding-standard": "^3.0.0", "dmore/behat-chrome-extension": "^1.4", + "dmore/chrome-mink-driver": "^2.9", "friends-of-behat/mink": "^1.11", "friends-of-behat/mink-browserkit-driver": "^1.6", "friends-of-behat/mink-debug-extension": "^2.1", @@ -33,7 +33,6 @@ "league/flysystem-bundle": "^3.3", "nelmio/alice": "^3.10", "nyholm/psr7": "^1.8", - "phpspec/phpspec": "^7.0", "phpunit/phpunit": "^9.5", "polishsymfonycommunity/symfony-mocker-container": "^1.0", "robertfausk/behat-panther-extension": "^1.1",