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

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

XMLWordPrintable

    • MOODLE_25_STABLE

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

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.