mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-67874 theme_boost: make focus outline accessible
This commit is contained in:
parent
8aa0f2c4d8
commit
91de0ed823
30 changed files with 473 additions and 97 deletions
|
@ -1883,7 +1883,8 @@ class behat_course extends behat_base {
|
|||
|
||||
$exception = new ExpectationException('"' . $categoryname . '" category can not be found', $this->getSession());
|
||||
$categoryliteral = behat_context_helper::escape($categoryname);
|
||||
$xpath = "//div[@class='info']/descendant::*[" . implode(' or ', $headingtags) . "][@class='categoryname'][./descendant::a[.=$categoryliteral]]";
|
||||
$xpath = "//div[@class='info']/descendant::*[" . implode(' or ', $headingtags) .
|
||||
"][contains(@class,'categoryname')][./descendant::a[.=$categoryliteral]]";
|
||||
$node = $this->find('xpath', $xpath, $exception);
|
||||
$node->click();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue