** Changed in: mahara/15.04
    Milestone: 15.04.2 => 15.04.3

-- 
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
Status in Mahara 15.04 series:
  New

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

Reply via email to