-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
2.9.3
-
MOODLE_29_STABLE
This was originally reported as MDL-50259, but the fix for that didn't solve my actual problem.
I think it only solved the issue for substrings that didn't exactly match module names. So "Qui" without the "z" would now (correctly) fail as there is no such module with than name. In the case of "Quiz" and the third party module "Adaptive Quiz" both are found in the option list, and so the previous fix allows them to continue. At that point, "Adaptive Quiz" comes first alphabetically, and so any Quiz behat test that doesn't use @javascript will create the wrong type of activity and most likely fail shortly afterwards.
One example that fails once Adaptive Quiz is installed is mod/quiz/tests/behat/add_quiz.feature
The actual bug seems to be in the Mink library that Moodle uses (via Behat). I've filed an bug upstream with them.
https://github.com/minkphp/Mink/issues/692
But perhaps there is a workaround?
- will be (partly) resolved by
-
MDL-46891 Upgrade to behat 3.x
- Closed