mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-68030 core_course: Update behat
This commit is contained in:
parent
4883aabf0d
commit
c515848ce0
@ -250,7 +250,7 @@ class behat_course extends behat_base {
|
||||
// Clicks the selected activity if it exists.
|
||||
$activityxpath = "//div[contains(concat(' ', normalize-space(@class), ' '), ' modchooser ')]" .
|
||||
"/descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' optioninfo ')]" .
|
||||
"/descendant::span[contains(concat(' ', normalize-space(@class), ' '), ' optionname ')]" .
|
||||
"/descendant::p[contains(concat(' ', normalize-space(@class), ' '), ' optionname ')]" .
|
||||
"[normalize-space(.)=$activityliteral]" .
|
||||
"/parent::a";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user