mirror of
https://github.com/moodle/moodle.git
synced 2025-06-02 06:05:31 +02:00
MDL-47470 behat: fix 'I navigate to' exception
When a child page is not found
This commit is contained in:
parent
6597413d41
commit
ab7fa55694
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user