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

Editing mode for both single view gradebook reports

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide

      Partially testes by Behat (like bulk insert grades)

      Prerequisites

      1. Create a Course
      2. Enrol several students in the course (at least 3)
      3. Enrol one teacher
      4. Create at least one group in the course and add some of the students within the group(s).
      5. Create some activities in the course
      6. Create some grade categories in the course (Grades > Gradebook setup > Add category) and make sure you have at least several nested categories (parent-child)
      7. Create some grading items in the course (Grades > Gradebook setup > Add grade item)
      8. In the gradedebook setup page
        • move some of the grading items under some grade categories
        • set some of the grade items to be 'hidden'

      Test 1 (teacher)

      1. Login as teacher and navigate to the course
      2. Go to the course gradebook (Grades) and select 'Singleview report' from the tertiary navigation selector
      3. In the Singleview report zero state page
        • confirm that you *don't see an option to select a user or grade item in the tertiary navigation area*
        • *confirm that you see Users/Grade items mode toggle below the sero state image
      4. Click Users toggle
        • confirm that you see Users/Grade items mode toggle in the tertiary navigation area and Users options is selected
        • confirm that you see an option to select a user in the tertiary navigation area
        • confirm that you *don't*see an option to select a grade item in the tertiary navigation area
      5. Click on the option to select a user
        • confirm that a modal appears containing a list of all gradable users enrolled in the course
      6. Click on the first user from the list and you should be redirected to the Singleview report for that particular user
      7. In the Singleview user report page
        • confirm that the user report selector element in the tertiary navigation are now shows the selected user (avatar, name and email)
      8. In the user report table
        • confirm that there is a label for each grading item above the item's name based on the type
          • for activity grade items the type of activity is shown (e.g. "ASSIGNMENT", "FORUM")
          • for manual grading items it states "MANUAL ITEM"
      9. Confirm that there is an option to navigate to the next user report below the report table.
      10. Click on the next user report using bottom navigation bar
        • confirm that you are redirected to the next singleview user report
      11. In the bottom navigation bar
        • confirm you see an option to navigate back to the previous singleview user report
        • confirm you see an option to navigate to the next singleview user report
      12. Click on the previous report option in the bottom navigation bar
        • confirm that you are redirected to the previous singleview user report
      13. Click Grade items toggle in tertiary navigation
        • confirm that you see Users/Grade items mode toggle in the tertiary navigation area and Grade items options is selected
        • confirm that you see an option to select a grade item in the tertiary navigation area
        • confirm that you *don't*see an option to select a user in the tertiary navigation area
      14. Click on the option to select a grade item
        • confirm that a modal appears containing a list of all grade items in the course (including manual grade items and category totals)
      15. Click on any grade item from the list and you should be redirected to the Singleview report for that particular grade item
      16. In the Singleview grade item report page
        • confirm that the grade item report selector element in the tertiary navigation are now shows the selected grade item
      17. In the grade item report table
        • confirm that you see user avatar and fullname
      18. Confirm that there is an option to navigate to the next grade item below the report table.
      19. Click on the next grade item report using bottom navigation bar
        • confirm that you are redirected to the next singleview grade item report
      20. In the bottom navigation bar
        • confirm you see an option to navigate back to the previous singleview grade item report
        • confirm you see an option to navigate to the next singleview grade item report
      21. Click on the previous report option in the bottom navigation bar
        • confirm that you are redirected to the previous singleview grade item report
      22. Edit the course settings and force group mode and set the group mode to 'Visible groups' (Course > Settings > Groups)
      23. Navigate back to the grade singleview user report
        • confirm that there is a group selector option in the tertiary navigation area placed before the user selector option
      24. Assuming that 'All participants' is already selected in the group selector, select one user from the user selector
      25. In the user report page select a different group
        • confirm that you are redirected back to the zero state page and you are required to select a user
        • confirm that search in user selector only shows members of selected group
      26. Edit the course settings and force group mode and set the group mode to 'Visible groups' (Course > Settings > Groups)
      27. Navigate back to the grade singleview user report
        • confirm that there is a group selector option in the tertiary navigation area placed before the user selector option
      28. Assuming that 'All participants' is already selected in the group selector, select one user from the user selector
      29. In the user report page select a different group
        • confirm that you are redirected back to the zero state page and you are required to select a user
      30. Navigate back to the grade singleview grade item report
        • confirm that there is a group selector option in the tertiary navigation area placed before the grade item selector option
      31. Assuming that 'All participants' is already selected in the group selector select one grade item from the grade item selector
      32. Ensure all enrolled users are displayed
      33. In the grade item report page select a different group
        • confirm that you only members of selected group are dispayed
        • confirm that search in user selector only shows members of selected group

      Test 2 (teacher)

      1. Login as teacher and navigate to the course.
      2. Create an assignment and give some grades to student through Assignment grading interface
      3. Turn edition off
      4. Go to the course gradebook (Grades) and select 'Singleview report' from the tertiary navigation selector
      5. In the Singleview report zero state page
      6. Click Grade items toggle
      7. Click on the option to select a grade item
      8. Click on Assignment that you created from the list and you should be redirected to the Singleview report for that particular assignment
      9. In the Singleview grade item report page
        1. confirm that you don't see Action menu dropdown in tertiary navigation
        2. confirm that Save button is disabled
        3. confirm that no element in table is editable - i.e. no checkboxes, input text fields etc present
        4. confirm that you see grades that you have given for assignment
        5. confirm that you DONT see Bulk insert menu under the table
      10. Turn edition on
        1. confirm that you see Action menu dropdown in tertiary navigation with options: Override All, Override None, Exclude All, Exclude None, Bulk insert
        2. confirm that Save button is enabled
        3. confirm that there are checkboxes for Override and Exclude columns, input text field for Grade and Feedback columns
        4. confirm that you DONT see Bulk insert menu under the table
      11. Check override checkbox for some grade item and input a Grade (should be a number) and Feedback and click Save button
      12. Ensure that page is reloaded and data is saved
      13. Turn editing off
      14. Ensure you see green tick for that item in Override columns and OVERRIDEN grade is displayed in Grade column
      15. Turn editing on
      16. Check Exclude checkbox for some grade item and click Save
      17. Ensure that page is reloaded and data is saved
      18. Turn editing off
      19. Ensure you see green tick for that item in Exclude column
      20. Turn editing on
      21. Uncheck everything that was checked before and click Save
      22. Turn editing off
      23. Ensure there are no green ticks and OLD grade is displayed. Ensure you still see feedback
      24. Turn editing on
      25. Select 'Override All' from Actions menu
      26. Ensure all grades and feedback on page are editable and all override checkboxes are checked
      27. Select 'Override None' from Actions menu
      28. Ensure you see alert warning that all override will be removed
      29. Click 'Remove override'
      30. Ensure all grades on page are Non editable and all override checkboxes are NOT checked
      31. Select 'Exclude All' from Actions menu
      32. Ensure all all exclude checkboxes are checked
      33. Select 'Exclude None' from Actions menu
      34. Ensure all all exclude checkboxes are NOT checked
      Show
      Partially testes by Behat (like bulk insert grades) Prerequisites Create a Course Enrol several students in the course (at least 3) Enrol one teacher Create at least one group in the course and add some of the students within the group(s). Create some activities in the course Create some grade categories in the course (Grades > Gradebook setup > Add category) and make sure you have at least several nested categories (parent-child) Create some grading items in the course (Grades > Gradebook setup > Add grade item) In the gradedebook setup page move some of the grading items under some grade categories set some of the grade items to be 'hidden' Test 1 (teacher) Login as teacher and navigate to the course Go to the course gradebook (Grades) and select 'Singleview report' from the tertiary navigation selector In the Singleview report zero state page confirm that you *don't see an option to select a user or grade item in the tertiary navigation area* *confirm that you see Users/Grade items mode toggle below the sero state image Click Users toggle confirm that you see Users/Grade items mode toggle in the tertiary navigation area and Users options is selected confirm that you see an option to select a user in the tertiary navigation area confirm that you *don't*see an option to select a grade item in the tertiary navigation area Click on the option to select a user confirm that a modal appears containing a list of all gradable users enrolled in the course Click on the first user from the list and you should be redirected to the Singleview report for that particular user In the Singleview user report page confirm that the user report selector element in the tertiary navigation are now shows the selected user (avatar, name and email) In the user report table confirm that there is a label for each grading item above the item's name based on the type for activity grade items the type of activity is shown (e.g. "ASSIGNMENT", "FORUM") for manual grading items it states "MANUAL ITEM" Confirm that there is an option to navigate to the next user report below the report table. Click on the next user report using bottom navigation bar confirm that you are redirected to the next singleview user report In the bottom navigation bar confirm you see an option to navigate back to the previous singleview user report confirm you see an option to navigate to the next singleview user report Click on the previous report option in the bottom navigation bar confirm that you are redirected to the previous singleview user report Click Grade items toggle in tertiary navigation confirm that you see Users/Grade items mode toggle in the tertiary navigation area and Grade items options is selected confirm that you see an option to select a grade item in the tertiary navigation area confirm that you *don't*see an option to select a user in the tertiary navigation area Click on the option to select a grade item confirm that a modal appears containing a list of all grade items in the course (including manual grade items and category totals) Click on any grade item from the list and you should be redirected to the Singleview report for that particular grade item In the Singleview grade item report page confirm that the grade item report selector element in the tertiary navigation are now shows the selected grade item In the grade item report table confirm that you see user avatar and fullname Confirm that there is an option to navigate to the next grade item below the report table. Click on the next grade item report using bottom navigation bar confirm that you are redirected to the next singleview grade item report In the bottom navigation bar confirm you see an option to navigate back to the previous singleview grade item report confirm you see an option to navigate to the next singleview grade item report Click on the previous report option in the bottom navigation bar confirm that you are redirected to the previous singleview grade item report Edit the course settings and force group mode and set the group mode to 'Visible groups' (Course > Settings > Groups) Navigate back to the grade singleview user report confirm that there is a group selector option in the tertiary navigation area placed before the user selector option Assuming that 'All participants' is already selected in the group selector, select one user from the user selector In the user report page select a different group confirm that you are redirected back to the zero state page and you are required to select a user confirm that search in user selector only shows members of selected group Edit the course settings and force group mode and set the group mode to 'Visible groups' (Course > Settings > Groups) Navigate back to the grade singleview user report confirm that there is a group selector option in the tertiary navigation area placed before the user selector option Assuming that 'All participants' is already selected in the group selector, select one user from the user selector In the user report page select a different group confirm that you are redirected back to the zero state page and you are required to select a user Navigate back to the grade singleview grade item report confirm that there is a group selector option in the tertiary navigation area placed before the grade item selector option Assuming that 'All participants' is already selected in the group selector select one grade item from the grade item selector Ensure all enrolled users are displayed In the grade item report page select a different group confirm that you only members of selected group are dispayed confirm that search in user selector only shows members of selected group Test 2 (teacher) Login as teacher and navigate to the course. Create an assignment and give some grades to student through Assignment grading interface Turn edition off Go to the course gradebook (Grades) and select 'Singleview report' from the tertiary navigation selector In the Singleview report zero state page Click Grade items toggle Click on the option to select a grade item Click on Assignment that you created from the list and you should be redirected to the Singleview report for that particular assignment In the Singleview grade item report page confirm that you don't see Action menu dropdown in tertiary navigation confirm that Save button is disabled confirm that no element in table is editable - i.e. no checkboxes, input text fields etc present confirm that you see grades that you have given for assignment confirm that you DONT see Bulk insert menu under the table Turn edition on confirm that you see Action menu dropdown in tertiary navigation with options: Override All, Override None, Exclude All, Exclude None, Bulk insert confirm that Save button is enabled confirm that there are checkboxes for Override and Exclude columns, input text field for Grade and Feedback columns confirm that you DONT see Bulk insert menu under the table Check override checkbox for some grade item and input a Grade (should be a number) and Feedback and click Save button Ensure that page is reloaded and data is saved Turn editing off Ensure you see green tick for that item in Override columns and OVERRIDEN grade is displayed in Grade column Turn editing on Check Exclude checkbox for some grade item and click Save Ensure that page is reloaded and data is saved Turn editing off Ensure you see green tick for that item in Exclude column Turn editing on Uncheck everything that was checked before and click Save Turn editing off Ensure there are no green ticks and OLD grade is displayed. Ensure you still see feedback Turn editing on Select 'Override All' from Actions menu Ensure all grades and feedback on page are editable and all override checkboxes are checked Select 'Override None' from Actions menu Ensure you see alert warning that all override will be removed Click 'Remove override' Ensure all grades on page are Non editable and all override checkboxes are NOT checked Select 'Exclude All' from Actions menu Ensure all all exclude checkboxes are checked Select 'Exclude None' from Actions menu Ensure all all exclude checkboxes are NOT checked
    • 4
    • HQ Team Alpha - Sprint 0.4, Team Alpha - Review Sprint 0, Team Alpha - Holding pattern

    Description

      Summary:

      Given the Figma prototype we to we want to create a connection between the report and the 'Edit mode' switch. When 'Edit mode' is enabled the user should be able to modify certain grade information. In addition to that we want the users to be able to quickly override all grades, exclude all grades and bulk insert grades.

      Scope:

      The following requirements should be available when 'Editing mode' is enabled

      1. The table cells under the following columns should be editable:
        • Grade (input)
        • Feedback (input)
        • Override (checkbox)
        • Exclude (checkbox)
      2. Ability to save the changes to the grades.
      3. Actions dropdown menu in the tertiary navigation area. This dropdown should contain the following options and functionality:
        1. Bulk override grades (Override all/Override none)
        2. Bulk exclude grades (Exclude all/ Exclude none)
        3. Bulk insert grades
      4. Create a modal for the 'Bulk insert grades' action with the following requirements
        1. notification about the risks of the action with a confirmation checkbox
        2. Option (radio) to select which grade should be updated (All grades or Empty grades)
        3. Grade value input
        4. Cancel action
        5. Save action - applies the new grades and saves all the existing changes in the report/
      5. Automated testing

      Attachments

        Issue Links

          Activity

            People

              ilyatregubov Ilya Tregubov
              mathewmay Mathew May
              Mathew May Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 days Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 5 minutes
                  1w 5m

                  Clockify

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