Fix was resolved by installing xvfb.
** Changed in: mahara
Status: Confirmed => Invalid
** Changed in: mahara
Milestone: 15.10.0 => None
--
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:
Invalid
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
_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp