mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
Merge branch 'MDL-68048-master-behatnotfound' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
07b6ae5f3a
2 changed files with 5 additions and 5 deletions
|
@ -217,7 +217,7 @@ class behat_theme_classic_behat_navigation extends behat_navigation {
|
|||
$menuxpath = "//section[contains(@class,'block_settings')]//div[@id='settingsnav']/ul[1]/li[1]";
|
||||
|
||||
if ($mustexist) {
|
||||
$exception = new ElementNotFoundException($this->getSession(), 'Page administration menu is not found');
|
||||
$exception = new ElementNotFoundException($this->getSession(), 'Page administration menu');
|
||||
$this->find('xpath', $menuxpath, $exception);
|
||||
|
||||
} else if (!$this->getSession()->getPage()->find('xpath', $menuxpath)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue