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

Implement gradebook zero states for user & singleview reports

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75362-refactor
    • Hide
      1. Automated tests pass.

      Manual testing for zero states:

      Requirements

      1. Following users enrolled into a course
        1. Admin user
        2. One editing teacher
        3. One non editing teacher
        4. Two leaners a and b
      2. Course contains any two each with a unique name

      Test 1 user report

      1. Given you log in as the admin teacher
      2. Navigate to the course
      3. Select the grade navigation node from the secondary navigation
      4. Select user report from the tertiary navigation
      5. Confirm you now land on a page that resembles the user select screenshot
      6. Confirm you do not see a option to switch between user and grade item searching
      7. Click on the "Click to select user" link
      8. Confirm that the "Select a user" modal appears
      9. Confirm that the enrolled learners appear within the dialogue
      10. Confirm the teachers do not appear on the dialogue
      11. Within the search area type the name of a user not in the list
      12. Confirm you see "0 results found"
      13. Clear the search content
      14. Confirm you see the learners within the modal once again
      15. Search for a user that does exist on the list
      16. Confirm the other user is no longer shown in the dialogue
      17. Click on the user
      18. Confirm you are redirected to the user report for the selected user
      19. Navigate back to the previous page
      20. Open the modal
      21. Close the modal once loaded
      22. Reopen the modal
      23. Confirm it loads

      Test 2 single view report part 1 (User searching within the single report)

      1. Log in as the admin teacher
      2. Navigate to the course
      3. Select the grade navigation node from the secondary navigation
      4. Select single report from the tertiary navigation
      5. Confirm you now land on a page that resembles the single report select screen screenshot
      6. Select the "Users" option on the select page
      7. Click the "Click to select user" link
      8. Confirm that the "Select a user" modal appears
      9. Confirm that the enrolled learners appear within the dialogue
      10. Confirm the teachers do not appear on the dialogue
      11. Within the search area type the name of a user not in the list
      12. Confirm you see "0 results found"
      13. Clear the search content
      14. Confirm you see the learners within the modal once again
      15. Search for a user that does exist on the list
      16. Confirm the other user is no longer shown in the dialogue
      17. Click on the user
      18. Confirm you are redirected to the user report for the selected user
      19. Navigate back to the previous page
      20. Open the modal
      21. Close the modal once loaded
      22. Reopen the modal
      23. Confirm it loads

      Test 2 single view report part 2 (Grade item searching)

      Grade item report

      1. Log in as the admin teacher
      2. Navigate to the course
      3. Select the grade navigation node from the secondary navigation
      4. Select gradebook setup from the tertiary navigation
      5. Click "Add grade item"
      6. Press save changes
      7. Click "Add grade item"
      8. Within the form add a name to the new item
      9. Select single report from the tertiary navigation
      10. Confirm you now land on a page that resembles the single report select screen screenshot
      11. Select the "Grade items" option on the select page
      12. Click the "Select grade item" link
      13. Confirm that the "Select a grade item" modal appears
      14. Confirm You see all the grade items within the course that you confirmed earlier
      15. Within the search area type the name of a grade item not in the list
      16. Confirm you see "0 results found"
      17. Clear the search content
      18. Confirm you see the grade items within the modal once again
      19. Search for a grade item that has a unique name
      20. Confirm the other grade items are no longer shown in the dialogue
      21. Click on the grade item
      22. Confirm you are redirected to the grade item report for the selected grade item
      23. Navigate back to the previous page
      24. Open the modal
      25. Close the modal once loaded
      26. Reopen the modal
      27. Confirm it loads

      Test 2 single view report part 3 (Navigate between report types within the single report)

      1. Given you log in as the admin teacher
      2. Navigate to the course
      3. Select the grade navigation node from the secondary navigation
      4. Select single report from the tertiary navigation
      5. Confirm you now land on a page that resembles the single report select screen screenshot
      6. Select the "Users" option on the select page
      7. Click the "Click to select user" link
      8. Confirm the "Select a user" modal appears
      9. Close the modal
      10. Select the "Grade items" option in the top right of the page
      11. Confirm you are redirected and see the "Select grade item" link
      12. Click the "Select grade item" link
      13. Confirm the "Select a grade item" modal appears

      Manual testing for group selection

      Prerequisites

      1. Login as admin
      2. Create a course.
      3. Add several activities.
      4. Enrol a teacher and 3 students (student1, student2 and student3) in the course.
      5. Create groups in the course (group1, group2)
      6. Add student1 to group1 and group2
      7. Add student2 to group2
      8. Add teacher to group1

      Test 1 (Group mode disabled)

      1. Login as a teacher.
      2. Go to the course.
      3. Navigate to course gradebook (Grades).
      4. Go to the User report in gradebook.
        • confirm that there ISN'T an option to select a group ('Click to select group' button) on the zero state page.
      5. Go to the Single view report in gradebook.
      6. In the initial zero state click on 'Users' in the 'view' toggle element.
      7. In the 'select user' zero state page
        • confirm that there ISN'T an option to select a group ('Click to select group' button) on the zero state page.
      8. Now click on 'Grade items' in the 'view' toggle element.
        • confirm that there ISN'T an option to select a group ('Click to select group' button) on the zero state page.

      Test 2 (Group mode enabled)

      1. Login as teacher.
      2. Go to the course.
      3. In the course settings page set 'Group mode' to 'Separate groups' and save changes.
      4. Navigate to course gradebook (Grades).
      5. Go to the User report in gradebook.
        1. confirm that there IS an option to select a group ('Click to select group' button) on the zero state page.
      6. Click on the 'Click to select group' button
        • confirm that you can see a 'Select a group' modal
        • confirm that the following options are present in the modal:
          • All participants
          • group1
          • group2
      7. Click on the group1 option
      8. Once the page reloads click on the 'Click to select' user button
        • confirm that the following options are present in the 'Select a user' modal
          • student1
          • All users (1)
      9. Repeat steps 6-8 with the other available group options and each time:
        • confirm that the correct group members (students) are displayed in the 'Select a user' modal
      10. Go to the Single view report in gradebook.
      11. In the initial zero state click on 'Users' in the 'view' toggle element.
      12. In the 'select user' zero state page
        • confirm that there IS an option to select a group ('Click to select group' button) on the zero state page.
      13. Repeat steps 6-8 with the all available group options and each time:
        • confirm that the correct group members (students) are displayed in the 'Select a user' modal
      14. Now click on 'Grade items' in the 'view' toggle element.
        • confirm that there IS an option to select a group ('Click to select group' button) on the zero state page.
      15. Click on the 'Click to select group' button
        • confirm that you can see a 'Select a group' modal
        • confirm that the following options are present in the modal:
          • All participants
          • group1
          • group2
      16. Click on the group1 option
      17. Click on the 'Select grade item' button
      18. Click on one of the grade items from the 'Select a grade item' modal
      19. In the Single view report page
        • confirm that you can only see student1 in the report table
      Show
      Automated tests pass. Manual testing for zero states: Requirements Following users enrolled into a course Admin user One editing teacher One non editing teacher Two leaners a and b Course contains any two each with a unique name Test 1 user report Given you log in as the admin teacher Navigate to the course Select the grade navigation node from the secondary navigation Select user report from the tertiary navigation Confirm you now land on a page that resembles the user select screenshot Confirm you do not see a option to switch between user and grade item searching Click on the "Click to select user" link Confirm that the "Select a user" modal appears Confirm that the enrolled learners appear within the dialogue Confirm the teachers do not appear on the dialogue Within the search area type the name of a user not in the list Confirm you see "0 results found" Clear the search content Confirm you see the learners within the modal once again Search for a user that does exist on the list Confirm the other user is no longer shown in the dialogue Click on the user Confirm you are redirected to the user report for the selected user Navigate back to the previous page Open the modal Close the modal once loaded Reopen the modal Confirm it loads Test 2 single view report part 1 (User searching within the single report) Log in as the admin teacher Navigate to the course Select the grade navigation node from the secondary navigation Select single report from the tertiary navigation Confirm you now land on a page that resembles the single report select screen screenshot Select the "Users" option on the select page Click the "Click to select user" link Confirm that the "Select a user" modal appears Confirm that the enrolled learners appear within the dialogue Confirm the teachers do not appear on the dialogue Within the search area type the name of a user not in the list Confirm you see "0 results found" Clear the search content Confirm you see the learners within the modal once again Search for a user that does exist on the list Confirm the other user is no longer shown in the dialogue Click on the user Confirm you are redirected to the user report for the selected user Navigate back to the previous page Open the modal Close the modal once loaded Reopen the modal Confirm it loads Test 2 single view report part 2 (Grade item searching) Grade item report Log in as the admin teacher Navigate to the course Select the grade navigation node from the secondary navigation Select gradebook setup from the tertiary navigation Click "Add grade item" Press save changes Click "Add grade item" Within the form add a name to the new item Select single report from the tertiary navigation Confirm you now land on a page that resembles the single report select screen screenshot Select the "Grade items" option on the select page Click the "Select grade item" link Confirm that the "Select a grade item" modal appears Confirm You see all the grade items within the course that you confirmed earlier Within the search area type the name of a grade item not in the list Confirm you see "0 results found" Clear the search content Confirm you see the grade items within the modal once again Search for a grade item that has a unique name Confirm the other grade items are no longer shown in the dialogue Click on the grade item Confirm you are redirected to the grade item report for the selected grade item Navigate back to the previous page Open the modal Close the modal once loaded Reopen the modal Confirm it loads Test 2 single view report part 3 (Navigate between report types within the single report) Given you log in as the admin teacher Navigate to the course Select the grade navigation node from the secondary navigation Select single report from the tertiary navigation Confirm you now land on a page that resembles the single report select screen screenshot Select the "Users" option on the select page Click the "Click to select user" link Confirm the "Select a user" modal appears Close the modal Select the "Grade items" option in the top right of the page Confirm you are redirected and see the "Select grade item" link Click the "Select grade item" link Confirm the "Select a grade item" modal appears Manual testing for group selection Prerequisites Login as admin Create a course. Add several activities. Enrol a teacher and 3 students (student1, student2 and student3) in the course. Create groups in the course (group1, group2) Add student1 to group1 and group2 Add student2 to group2 Add teacher to group1 Test 1 (Group mode disabled) Login as a teacher. Go to the course. Navigate to course gradebook (Grades). Go to the User report in gradebook. confirm that there ISN'T an option to select a group ('Click to select group' button) on the zero state page. Go to the Single view report in gradebook. In the initial zero state click on 'Users' in the 'view' toggle element. In the 'select user' zero state page confirm that there ISN'T an option to select a group ('Click to select group' button) on the zero state page. Now click on 'Grade items' in the 'view' toggle element. confirm that there ISN'T an option to select a group ('Click to select group' button) on the zero state page. Test 2 (Group mode enabled) Login as teacher. Go to the course. In the course settings page set 'Group mode' to 'Separate groups' and save changes. Navigate to course gradebook (Grades). Go to the User report in gradebook. confirm that there IS an option to select a group ('Click to select group' button) on the zero state page. Click on the 'Click to select group' button confirm that you can see a 'Select a group' modal confirm that the following options are present in the modal: All participants group1 group2 Click on the group1 option Once the page reloads click on the 'Click to select' user button confirm that the following options are present in the 'Select a user' modal student1 All users (1) Repeat steps 6-8 with the other available group options and each time: confirm that the correct group members (students) are displayed in the 'Select a user' modal Go to the Single view report in gradebook. In the initial zero state click on 'Users' in the 'view' toggle element. In the 'select user' zero state page confirm that there IS an option to select a group ('Click to select group' button) on the zero state page. Repeat steps 6-8 with the all available group options and each time: confirm that the correct group members (students) are displayed in the 'Select a user' modal Now click on 'Grade items' in the 'view' toggle element. confirm that there IS an option to select a group ('Click to select group' button) on the zero state page. Click on the 'Click to select group' button confirm that you can see a 'Select a group' modal confirm that the following options are present in the modal: All participants group1 group2 Click on the group1 option Click on the 'Select grade item' button Click on one of the grade items from the 'Select a grade item' modal In the Single view report page confirm that you can only see student1 in the report table
    • 4
    • HQ Team Alpha - Sprint 0.3, HQ Team Alpha - Sprint 0.4, Team Alpha - Review Sprint 0

      Summary:

      With the current Figma prototype we want to create a new Single view report.

      To aid in this goal we need to create the zero state and intermediary pages to the incoming reports.

      Assumptions:

      1. Upon selecting the Single view report at any point, you’ll hit the landing page
      2. Upon selecting a report type to view, The page should not have to refresh to change the state
        1. Something like the reactive component or Activity chooser can be examples of this
      3. Once a report type has been selected, The user will then search using the basic search component then be redirected

      Scope:

      1. Creation of a new Single view report type
      2. Basic user / grade search
      3. Landing page with links to both of the new intermediary pages for Users and Grade items
      4. Zero state pages for both of the Users and Grade items intermediary pages where specific search can be done
      5. Dummy zero state images (Link to existing MRKT-XXXXX issue)
      6. Automated testing

      Bonus goals:

      1. Have the selector / search show “inline” with the button in the middle of the page

      Out of scope:

      1. Either of the two new reports within the single view report
      2. Complete reusable search component
        1. For now only basic search is enough as we’ll look to make this a generic component used across the new reporting infrastructure within a new task

        There are no Sub-Tasks for this issue.

            mathewmay Mathew May
            mathewmay Mathew May
            Mihail Geshoski Mihail Geshoski
            Ilya Tregubov Ilya Tregubov
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 4 days, 1 hour, 10 minutes
                3w 4d 1h 10m

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