Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.5.2
-
Fix Version/s: None
-
Component/s: Automated functional tests (behat), Questions
-
Labels:
-
Affected Branches:MOODLE_25_STABLE
Description
The following behat step definition doesn't work with the embeded answer (cloze) question type.
Checks the state of the specified question.
|
Then the state of "QUESTION_DESCRIPTION_STRING" question is shown as "STATE_STRING"
|
You can see how I was trying to use it here:
https://github.com/danpoltawski/moodle/commit/2804f1fe62ed30de7f0f9e97dbfe468f25c063cb
Instead of adding a state check, I switched the lines to a generic 'Then I should see "Correct"'