Please add the following behats to this file (mod/quiz/report/overview/tests/behat/regrading.feature)
Quiz slot 1 was set to use fixed v7 of the question. Student did attempt. Quiz edited to say use fixed v8. Regrade done. (Regrade should use v8.)
Quiz slot 2 was set to use fixed v7 of the question. Student did attempt. Quiz edited to say always use latest. Regrade done. (Regrade should use v9.)
The above two cases should work exacty the same way if the quiz previously said 'Always use latest, and the student started their attempt when v7 was the latest. Then 2 versions of the question were added, and then the rest of the scenario plays ou.
Slot 5 of the quiz uses a random question. (Am I right in thinking that random questions always work like 'Always use latest? - if not correct this.) Student attempts quiz and gets QX which at the time has 7 versions. Then 2 versions of that question added, and a regrade is done. Regrade should use v9 of QX.
Quiz is attempted and the version didn't change, regrade doesn't change anything.
Branch: master_MDL-71696-versioning-integration-438
Please add the following behats to this file (mod/quiz/report/overview/tests/behat/regrading.feature)
Quiz is attempted and the version didn't change, regrade doesn't change anything.