Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16679

CLONE - As a teacher I can define the status of a question




      This test case is an exploratory test case about the newly introduced question statuses. So please feel free to try anything you like and not just the test steps!  


      This test requires a test course with at least one teacher who can edit questions and a quiz.


      Test statuses directly in the question bank

      1. Log in as teacher in your test course.
      2. Go to your question bank (More > Question bank)
      3. Create and save a new question A (of any type); set the question status to "Draft".
      4. Verify that question A is visible in the question bank and that it's status says "Draft".
      5. Create and save a new question B (of any type) and set the question status to "Ready".
      6. Verify that question B is visible in the question bank and that it's status says "Ready".

      Test statuses on the history page

      1. Edit question A (creating version 2); keep the question status "Draft".
      2. Edit question A a second time (creating version 3); keep the question status "Draft".
      3. In the question bank in the column "Actions" click on the hyperlink "Edit" -> History.
      4. Verify that a new page will be loaded where you can see all of the versions of this question.
      5. Verify that you change the status of each version of this question.
      6. Change the status to "Ready" and save.
      7. Verify that this actions takes you back to the question bank, that the question status now says "Ready" and that no additional version has been added.


        1. 16067_1.png
          39 kB
          Helen Foster
        2. 16067_2.png
          39 kB
          Helen Foster
        3. 16067_3.png
          39 kB
          Helen Foster
        4. 16067_4.png
          39 kB
          Helen Foster
        5. 16067_5.png
          39 kB
          Helen Foster
        6. Bildschirmfoto 2022-03-22 um 15.29.30.jpg
          107 kB
          Thomad Korner
        7. Bildschirmfoto 2022-03-22 um 15.32.53.jpg
          99 kB
          Thomad Korner
        8. Bildschirmfoto 2022-03-22 um 15.33.10.jpg
          93 kB
          Thomad Korner
        9. questionA-is-draft.png
          12 kB
          Rea Su
        10. questionA-is-ready-still-v3.png
          12 kB
          Rea Su
        11. questionB-is-ready.png
          11 kB
          Rea Su

        Issue Links



              tkorner Thomad Korner
              0 Vote for this issue
              4 Start watching this issue