-
Bug
-
Resolution: Fixed
-
Minor
-
4.5.4, 5.0
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: