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

[Question] Usage of Symfony parameters in extension config #144

Open
anaelChardan opened this issue Oct 9, 2018 · 0 comments
Open

[Question] Usage of Symfony parameters in extension config #144

anaelChardan opened this issue Oct 9, 2018 · 0 comments

Comments

@anaelChardan
Copy link

Hi! I'm running this extension with Behat v.3.4.3 and I was wondering if it was possible to use symfony parameters for the extensions and not only the contexts, for example I would like to set the base_url of the MinkExtension from a parameter:

I've tested with '%%%%' and '%%'

extensions:
        Behat\ChainedStepsExtension: ~
        Behat\MinkExtension:
            default_session: symfony2
            javascript_session: selenium2
            show_cmd: chromium-browser %s
            sessions:
                symfony2:
                    symfony2: ~
                selenium2:
                    selenium2:
                        wd_host: '%%%%behat_selenium_url%%%%'
            base_url: '%%%%behat_url%%%%'
            files_path: 'tests/legacy/features/Context/fixtures/'
        Behat\Symfony2Extension:
            kernel:
                env: behat
                debug: false

Thank you in advance ;)

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