Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42119

Question state step definition doesn't work with all question types

    XMLWordPrintable

    Details

    • 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"'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: