Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fabianobonomini opened this issue Dec 7, 2021 · 0 comments

Comments

@fabianobonomini
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant