MDL-68030 core_course: Update behat

This commit is contained in:
Mathew May 2020-03-10 09:01:17 +08:00
parent 4883aabf0d
commit c515848ce0

View File

@ -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";