Permalink
Browse files

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

When a child page is not found
  • Loading branch information...
danpoltawski committed Sep 30, 2014
1 parent 8c85081 commit 622c15ca7cfc9d06daa2ea64eff208eb2b3a68bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tests/behat/behat_navigation.php
@@ -267,7 +267,7 @@ public function i_navigate_to_node_in($nodetext, $parentnodes) {
// 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()) {

0 comments on commit 622c15c

Please sign in to comment.