mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #25605
[Bug 1444752] [NEW] Behat runheadless not working (FF 37.0.1, Selenium 2.45.0)
Public bug reported:
When I try to do "mahara_behat.sh runheadless", it errors out after the
installation step and before tests start running. I'm using Firefox
37.0.1 (on Ubuntu 14.04), Selenium 2.45.0, and Mahara 15.10dev.
[INF] 69 (lib/mahara.php:218) Installing lastcoredata
[INF] 69 (lib/mahara.php:218) Installing localpostinst
[INF] 69 (lib/mahara.php:240) Installation complete.
Acceptance test site is installed
Acceptance tests environment enabled on http://localhost:8000, to run the tests use:
/vendor/bin/behat --config /home/aaronw/dataroot/mahara/behat/behat/behat.yml
Start Selenium...
Starting Xvfb ...
PID [21738]
21739
Selenium started
Start PHP server
Run Behat...
Run all tests
==================================================
Mahara , postgres
Server OS "Linux", Browser: "firefox"
Started at 16-04-2015, 11:23
[Exception]
Exception has been thrown in "beforeScenario" hook, defined in BehatHooks::before_scenario()
Selenium server is not running, you need to start it to run tests that involve Javascript. More info in http://wiki.mahara.org/Developer_area/Acceptance_testing#Running_tests
behat [--init] [-f|--format="..."] [--out="..."] [--lang="..."] [--[no-]ansi] [--[no-]time] [--[no-]paths] [--[no-]snippets] [--[no-]snippets-paths] [--[no-]multiline] [--[no-]expand] [--story-syntax] [-d|--definitions="..."] [--name="..."] [--tags="..."] [--cache="..."] [--strict] [--dry-run] [--stop-on-failure] [--rerun="..."] [--append-snippets] [--append-to="..."] [features]
Shutdown Selenium
Shutdown PHP server
** Affects: mahara
Importance: High
Assignee: Jinelle Foley-Barnes (jinelleb)
Status: Confirmed
** Tags: behat
--
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/1444752
Title:
Behat runheadless not working (FF 37.0.1, Selenium 2.45.0)
Status in Mahara ePortfolio:
Confirmed
Bug description:
When I try to do "mahara_behat.sh runheadless", it errors out after
the installation step and before tests start running. I'm using
Firefox 37.0.1 (on Ubuntu 14.04), Selenium 2.45.0, and Mahara
15.10dev.
[INF] 69 (lib/mahara.php:218) Installing lastcoredata
[INF] 69 (lib/mahara.php:218) Installing localpostinst
[INF] 69 (lib/mahara.php:240) Installation complete.
Acceptance test site is installed
Acceptance tests environment enabled on http://localhost:8000, to run the tests use:
/vendor/bin/behat --config /home/aaronw/dataroot/mahara/behat/behat/behat.yml
Start Selenium...
Starting Xvfb ...
PID [21738]
21739
Selenium started
Start PHP server
Run Behat...
Run all tests
==================================================
Mahara , postgres
Server OS "Linux", Browser: "firefox"
Started at 16-04-2015, 11:23
[Exception]
Exception has been thrown in "beforeScenario" hook, defined in BehatHooks::before_scenario()
Selenium server is not running, you need to start it to run tests that involve Javascript. More info in http://wiki.mahara.org/Developer_area/Acceptance_testing#Running_tests
behat [--init] [-f|--format="..."] [--out="..."] [--lang="..."] [--[no-]ansi] [--[no-]time] [--[no-]paths] [--[no-]snippets] [--[no-]snippets-paths] [--[no-]multiline] [--[no-]expand] [--story-syntax] [-d|--definitions="..."] [--name="..."] [--tags="..."] [--cache="..."] [--strict] [--dry-run] [--stop-on-failure] [--rerun="..."] [--append-snippets] [--append-to="..."] [features]
Shutdown Selenium
Shutdown PHP server
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1444752/+subscriptions
Follow ups
References