Sylius-Standard icon indicating copy to clipboard operation
Sylius-Standard copied to clipboard

Unrecognized option "chrome" under "testwork.mink.sessions.chrome_headless".

Open fabianobonomini opened this issue 3 years ago • 0 comments

I tried to write down my own test for an sylius 1.10 instance.

I renamed the behat.dist.yml file in behat.yml

I executed the command: APP_ENV=test ./vendor/bin/behat

then I get this error `In ArrayNode.php line 314:

Unrecognized option "chrome" under "testwork.mink.sessions.chrome_headless". Available options are "appium", "browser_stack", "goutte", "sahi", "sauce_labs", "selenium", "selenium2", "symfony", "zombie".`

the beheat.yml in that object looks like this ( I didn't change anything from the dist file ) Behat\MinkExtension: files_path: "%paths.base%/vendor/sylius/sylius/src/Sylius/Behat/Resources/fixtures/" base_url: "https://localhost:8080/" default_session: symfony javascript_session: chrome_headless sessions: symfony: symfony: ~ chrome_headless: 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

fabianobonomini avatar Dec 07 '21 07:12 fabianobonomini