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:30:11 +01:00
parent 8c85081478
commit 622c15ca7c
+1 -1
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()) {