mirror of
https://github.com/moodle/moodle.git
synced 2025-03-23 09:00:30 +01:00
Merge branch 'MDL-67317' of https://github.com/stronk7/moodle
This commit is contained in:
commit
e74c253037
@ -13,7 +13,7 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "7.5.*",
|
||||
"phpunit/dbunit": "4.0.*",
|
||||
"moodlehq/behat-extension": "3.39.1",
|
||||
"moodlehq/behat-extension": "3.39.2",
|
||||
"mikey179/vfsstream": "^1.6",
|
||||
"instaclick/php-webdriver": "dev-local as 1.x-dev"
|
||||
}
|
||||
|
487
composer.lock
generated
487
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -307,6 +307,9 @@ class behat_hooks extends behat_base {
|
||||
$driverexceptionmsg = 'Selenium server is not running, you need to start it to run tests that involve Javascript. ' . $moreinfo;
|
||||
try {
|
||||
$session = $this->getSession();
|
||||
if (!$session->isStarted()) {
|
||||
$session->start();
|
||||
}
|
||||
} catch (CurlExec $e) {
|
||||
// Exception thrown by WebDriver, so only @javascript tests will be caugth; in
|
||||
// behat_util::check_server_status() we already checked that the server is running.
|
||||
|
Loading…
x
Reference in New Issue
Block a user