MDL-47470 behat: fix 'I navigate to' exception

When a child page is not found
This commit is contained in:
Dan Poltawski 2014-09-30 15:20:25 +01:00
parent 6597413d41
commit ab7fa55694

View File

@ -267,7 +267,7 @@ class behat_navigation extends behat_base {
// Throw exception if no node found.
if (!$node) {
throw new ExpectationException('Navigation node "' . $nodetext . '" not found under "' .
$parentnodes . '"', $this->getSession());
implode($parentnodes, ' > ') . '"', $this->getSession());
}
if ($this->running_javascript()) {