Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4883aab
)
MDL-68030 core_course: Update behat
author
Mathew May
<mathewm@hotmail.co.nz>
Tue, 10 Mar 2020 01:01:17 +0000
(09:01 +0800)
committer
Mathew May
<mathewm@hotmail.co.nz>
Thu, 12 Mar 2020 03:51:45 +0000
(11:51 +0800)
course/tests/behat/behat_course.php
patch
|
blob
|
blame
|
history
diff --git
a/course/tests/behat/behat_course.php
b/course/tests/behat/behat_course.php
index
ed41a46
..
1f16af6
100644
(file)
--- a/
course/tests/behat/behat_course.php
+++ b/
course/tests/behat/behat_course.php
@@
-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";