Hi Rob, I ran it and this is the output that I got.
Acceptance tests environment enabled on http://localhost:8000, to run the tests use: /vendor/bin/behat --config /var/www/maharagerritdata/behat/behat/behat.yml Start Selenium... Selenium started Start PHP server Run Behat... Only run tests with the tag: @jinelle ================================================== @javascript @core @core_artefact @jinelle Feature: Visibility of social medial buttons In order to view and click on the social media buttons As a student So I can view others social media pages Background: # /var/www/html/maharagerrit/test/behat/features/testing_patch.feature:7 Given the following "users" exist: # BehatDataGenerators::the_following_exist() | username | password | email | firstname | lastname | institution | authname | role | | userA | Password1 | tes...@example.com | Thor | Almighty | mahara | internal | member | And the following "users" exist: # BehatDataGenerators::the_following_exist() | username | password | email | firstname | lastname | institution | authname | role | | userB | Password1 | tes...@example.com | Iron | Man | mahara | internal | member | Scenario: Creating and accessing social media buttons (Bug 1448948) # /var/www/html/maharagerrit/test/behat/features/testing_patch.feature:16 Given I log in as "userA" with password "Password1" # BehatGeneral::i_login_as() And I follow "Content" # BehatMaharaInitContext::clickLink() And I follow "Social media" # BehatMaharaInitContext::clickLink() And I follow "New social media account" # BehatMaharaInitContext::clickLink() And I set the following fields to these values: # BehatForms::i_set_the_following_fields_to_these_values() | Social network * | Facebook URL | | Your URL or username * | facebook.com | Notice: Undefined property: BehatFormSelect::$escaper in /var/www/html/maharagerrit/htdocs/testing/frameworks/behat/classes/FormFields/BehatFormSelect.php line 334 And I press "Save" # BehatMaharaInitContext::pressButton() 1 scenario (1 failed) 8 steps (6 passed, 1 skipped, 1 failed) 0m23.618s Shutdown Selenium Shutdown PHP server ((a8e0ed7...))jinelleb@boris:/var/www/html/maharagerrit$ Cheers, Jinelle -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1449334 Title: Behat: And I fill in the following step throwing error when I use it for drop down boxes Status in Mahara ePortfolio: In Progress Bug description: Hi, While writing a Behat test for a bug I used the step And I set the following fields to these values: for selecting the different types of Social media under Content. The firefox window stayed open and the console gave me this output and stopped the test from running any further. I have attached a segment of the test to test with. The Behat test environment has been already installed and enabled Acceptance tests environment enabled on http://localhost:8000, to run the tests use: /vendor/bin/behat --config /var/www/maharagerritdata/behat/behat/behat.yml Start Selenium... Selenium started Start PHP server Run Behat... Only run tests with the tag: @jinelle ================================================== Mahara , postgres Server OS "Linux", Browser: "firefox" Started at 28-04-2015, 14:00 ......PHP Fatal error: Class 'behat_base' not found in /var/www/html/maharagerrit/htdocs/testing/frameworks/behat/classes/FormFields/BehatFormSelect.php on line 92 PHP Stack trace: PHP 1. {main}() /var/www/html/maharagerrit/external/vendor/behat/behat/bin/behat:0 PHP 2. Symfony\Component\Console\Application->run() /var/www/html/maharagerrit/external/vendor/behat/behat/bin/behat:32 PHP 3. Behat\Behat\Console\BehatApplication->doRun() /var/www/html/maharagerrit/external/vendor/symfony/console/Symfony/Component/Console/Application.php:126 PHP 4. Symfony\Component\Console\Application->doRun() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Console/BehatApplication.php:68 PHP 5. Symfony\Component\Console\Application->doRunCommand() /var/www/html/maharagerrit/external/vendor/symfony/console/Symfony/Component/Console/Application.php:195 PHP 6. Symfony\Component\Console\Command\Command->run() /var/www/html/maharagerrit/external/vendor/symfony/console/Symfony/Component/Console/Application.php:874 PHP 7. Behat\Behat\Console\Command\BehatCommand->execute() /var/www/html/maharagerrit/external/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257 PHP 8. Behat\Behat\Console\Command\BehatCommand->runFeatures() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Console/Command/BehatCommand.php:128 PHP 9. Behat\Gherkin\Node\AbstractNode->accept() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Console/Command/BehatCommand.php:150 PHP 10. Behat\Behat\Tester\FeatureTester->visit() /var/www/html/maharagerrit/external/vendor/behat/gherkin/src/Behat/Gherkin/Node/AbstractNode.php:42 PHP 11. Behat\Gherkin\Node\AbstractNode->accept() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Tester/FeatureTester.php:88 PHP 12. Behat\Behat\Tester\ScenarioTester->visit() /var/www/html/maharagerrit/external/vendor/behat/gherkin/src/Behat/Gherkin/Node/AbstractNode.php:42 PHP 13. Behat\Behat\Tester\ScenarioTester->visitStep() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Tester/ScenarioTester.php:87 PHP 14. Behat\Gherkin\Node\AbstractNode->accept() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Tester/ScenarioTester.php:148 PHP 15. Behat\Behat\Tester\StepTester->visit() /var/www/html/maharagerrit/external/vendor/behat/gherkin/src/Behat/Gherkin/Node/AbstractNode.php:42 PHP 16. Behat\Behat\Tester\StepTester->executeStep() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Tester/StepTester.php:95 PHP 17. Behat\Behat\Tester\StepTester->executeStepDefinition() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Tester/StepTester.php:126 PHP 18. Behat\Behat\Definition\Annotation\Definition->run() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Tester/StepTester.php:157 PHP 19. call_user_func_array() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Definition/Annotation/Definition.php:155 PHP 20. BehatForms->i_set_the_following_fields_to_these_values() /var/www/html/maharagerrit/external/vendor/behat/behat/src/Behat/Behat/Definition/Annotation/Definition.php:155 PHP 21. BehatForms->set_field_value() /var/www/html/maharagerrit/htdocs/testing/frameworks/behat/classes/BehatForms.php:45 PHP 22. BehatFormSelect->set_value() /var/www/html/maharagerrit/htdocs/testing/frameworks/behat/classes/BehatForms.php:320 Shutdown Selenium Shutdown PHP server Thanks, Jinelle To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1449334/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp