MDL-47470 behat: fix 'I navigate to' exception
When a child page is not found
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user