Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-75362-refactor -
Hide
- 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)
- confirm that the following options are present in the 'Select a user' modal
- 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
ShowAutomated 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
Description
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:
- Upon selecting the Single view report at any point, you’ll hit the landing page
- Upon selecting a report type to view, The page should not have to refresh to change the state
- Something like the reactive component or Activity chooser can be examples of this
- Once a report type has been selected, The user will then search using the basic search component then be redirected
Scope:
- Creation of a new Single view report type
- Basic user / grade search
- Landing page with links to both of the new intermediary pages for Users and Grade items
- Zero state pages for both of the Users and Grade items intermediary pages where specific search can be done
- Dummy zero state images (Link to existing MRKT-XXXXX issue)
- Automated testing
Bonus goals:
- Have the selector / search show “inline” with the button in the middle of the page
Out of scope:
- Either of the two new reports within the single view report
- Complete reusable search component
- 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
Attachments
Issue Links
- blocks
-
MDL-75423 Implement "Singleview report" functionality
-
- Closed
-
-
MDL-75513 Implement "User report" functionality
-
- Closed
-
- has to be done before
-
MOBILE-4264 Zero state pages consistent with latest LMS changes
-
- Open
-
There are no Sub-Tasks for this issue.