Merge branch 'wip-mdl-45514' of git://github.com/rajeshtaneja/moodle

This commit is contained in:
Marina Glancy 2014-05-12 16:24:31 +08:00
commit 912a0fd050

View file

@ -810,9 +810,9 @@ class behat_general extends behat_base {
return $context->getSession()->getPage()->findAll($args['selector'], $args['locator']);
},
$params,
false,
self::REDUCED_TIMEOUT,
$exception,
self::REDUCED_TIMEOUT
false
);
throw new ExpectationException('The "' . $element . '" "' . $selectortype . '" exists in the current page', $this->getSession());