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

Question type, multiple choice: Duplicate scenario names in same feature file warning

XMLWordPrintable

      When running Behat tests, our CI reports a warning about duplicate scenario names within the same feature file:

      Duplicate scenario: Preview a Multiple choice question and submit a correct response

      Expected Behaviour:
      Each scenario in a feature file should have a unique name to prevent CI warnings and improve maintainability.

      Actual Behaviour:
      Duplicate scenario names result in warnings during CI runs.

      Proposed Fix:
      Rename the duplicated scenarios in the relevant feature file to include a distinguishing suffix or identifier e.g:

            andelacruz Angelia Dela Cruz
            KrisBax Kristiina
            Paul Holden Paul Holden
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m

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