MageTest / BehatMage

Behat for Magento
MIT License
85 stars 31 forks source link

base_url exception #87

Closed aftabnaveed closed 8 years ago

aftabnaveed commented 8 years ago

When I try to execute bin/behat it get this exception, I do have the base_url configured in my behat.yml file.

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option "base_url" under "testwork.magento"

Am I missing something there?

aftabnaveed commented 8 years ago

I think to have figured it out myself. Behat3 behat.yml might need to look like this .

default:
    suites:
        default:
            formatter:
                name: progress
            contexts: [FeatureContext, AdminUserContext]
    extensions:
        MageTest\MagentoExtension\Extension: ~
        Behat\MinkExtension:
            base_url: "http://somesite.local"
            goutte:
                server_parameters: ~