These are chat archives for Behat/Behat

18th
Dec 2017
Davor
@srlesrle
Dec 18 2017 12:34

following this tutorial: https://knpuniversity.com/screencast/behat/install and probobly having different versions of symfony in tutorial and on my side I get next error:
Given I am on "/" # FeatureContext::iAmOn()
Fatal error: Class 'PendingException' not found (Behat\Testwork\Call\Exception\FatalThrowableError)
When I fill in "searchTerm" with "Samsung" # FeatureContext::iFillInWith()
And I press "search_submit" # FeatureContext::iPress()
Then I should see "Samsung Galaxy S II"

my composer file is:
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.1.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/monolog-bundle": "^2.8",
"symfony/polyfill-apcu": "^1.0",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "^2.0",
"knplabs/knp-markdown-bundle": "^1.4",
"doctrine/doctrine-migrations-bundle": "^1.1",
"ramsey/uuid": "^3.7"

},
"require-dev": {
    "sensio/generator-bundle": "^3.0",
    "symfony/phpunit-bridge": "^3.0",
    "nelmio/alice": "^2.1",
    "doctrine/doctrine-fixtures-bundle": "^2.3",
    "behat/mink-extension": "^2.3",
    "behat/mink-goutte-driver": "^1.2"
},