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

Implement "Singleview report" functionality

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75423-master
    • 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 'Single view' 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 the following text below the zero state image:
          • Single view (heading)
          • View all the grades of a single user or grade item.
        • confirm that you see Users/Grade items mode toggle below the zero state text
      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
        • confirm that you see the following text below the zero state image:
          • View all the grades of a single user (heading)
          • In single view you can override or exclude selected grades and bulk insert grades.
      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 Single view report for that particular user
      7. In the Single view user report page
        • confirm that the user report selector element in the tertiary navigation 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
        1. confirm that you see Users/Grade items mode toggle in the tertiary navigation area and Grade items options is selected
        2. confirm that you see an option to select a grade item in the tertiary navigation area
        3. confirm that you *don't*see an option to select a user in the tertiary navigation area
        4. confirm that you see the following text below the zero state image:
          1. View a single grade item (heading)
          2. In single view you can override or exclude selected grades and bulk insert grades.
      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 Single view 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 'Separate 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 singleview 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 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 editing on
        1. confirm that you see Actions 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 overrides'
      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 'Single view' 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 the following text below the zero state image: Single view (heading) View all the grades of a single user or grade item. confirm that you see Users/Grade items mode toggle below the zero state text 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 confirm that you see the following text below the zero state image: View all the grades of a single user (heading) In single view you can override or exclude selected grades and bulk insert grades. 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 Single view report for that particular user In the Single view user report page confirm that the user report selector element in the tertiary navigation 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 confirm that you see the following text below the zero state image: View a single grade item (heading) In single view you can override or exclude selected grades and bulk insert grades. 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 Single view 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 'Separate 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 singleview 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 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 editing on confirm that you see Actions 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 overrides' 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
    • 5
    • HQ Team Alpha - Sprint 0.3, HQ Team Alpha - Sprint 0.4, Team Alpha - Review Sprint 0, Team Alpha - Holding pattern, HQ Team Alpha - Sprint 1.1

      Summary:

      Using the new zero state of the single view report as a base, we want to create a 'view only' mode in the grade Single view report for both User and Grade item view.

      Given the Figma prototype we want to create a connection between the report 'Edit mode' switch and when 'Edit mode' is disabled provide the user a 'view only' state of the Single view report where there is no editable fields. When 'Edit mode' is enabled we want same functionality as old singleview report

      Scope:

      1. Update any dummy links in the zero state to refer to this new report
        1. Note: this may not required as the zero state issue will make those intermediary pages and this issue can be worked on assuming the predecessor page will pass a user ID to this report
      2. Information pills if a user has overridden or excluded grades
      3. Grade item navigation at the bottom of the page for the Previous & Next grade items
        1. Presumed due to lack of design
      4. Automated testing
      5. Implement a 'view only' mode of the report (when edit switch is turned off) where:
        • there is no editable fields within the report table
        • bulk actions (override, exclude, grade insert) are not available to the user
      6. Edit mode - Bulk Actions as per design

            Geshoski Mihail Geshoski
            mathewmay Mathew May
            Mathew May Mathew May
            Victor Déniz Falcón Victor Déniz Falcón
            Amaia Anabitarte Amaia Anabitarte
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day, 4 hours Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 2 days, 6 hours, 1 minute
                1w 2d 6h 1m

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