Show
Confirm behat passes.
Prerequisites:
Restore the attached backup to a course backup-moodle2-course-61-activity_examples_1-20211011-1211.mbz
A student enrolled in the course.
Glossary auto-linking enabled for ‘Content and headings’. Refer https://docs.moodle.org/311/en/Glossary_auto-linking_filter
Activity names auto-linking enabled for ‘Content and headings’
In Site admin, search for 'displayoptions' and enable all the options for the plugins:
URL
File
Page
Note :
Test on classic initially
Activity title is ONLY the name of the activity
An old resource was created that will throw some warnings/notice on the course homepage. This is expected.
Testing:
Go to the site admin page
Right click on the page
Select the 'Inspect'
Confirm there is only a single html element with the id "maincontent"
Repeat #1-#4 when within an activity
Common functionality test:
Repeat the following test with all the activities in the course
Test
Login as a teacher
Go to the activity in the course
Confirm you see the assignment title, completion information and description
Repeat as a student
Delete the resource labelled 'ResourceMarkedAsToBeMigrated'
Additional detailed test
Assignment
Log in a teacher
Go to the activity
Click on ‘User Overrides’
Confirm you only see the activity title
Click on 'Add user override'
Confirm you only see the activity title
Enter some override and save
Click on the delete icon against the override
Confirm you only see the activity title
Click on ‘Group overrides’
Confirm you only see the activity title
Click on the settings tab
Confirm you do not see the assignment title, completion information and description
Go to the ‘Advanced grading’
Confirm you do not see the assignment title, completion information and description
Go to the settings tab and update the following:
Set Completion tracking to ‘Do not indicate activity completion’
Confirm you only see the assignment title and description
Go to the settings tab and update the following:
Disable ‘Always show description’
Set Completion tracking to ‘Students can manually mark the activity as completed’
Set 'Allow submissions from' to sometime in the future
Set 'Due date' to sometime in the future
Set 'Remind me to grade by' to sometime in the future
Confirm you only see assignment title and completion information
Go to the settings tab and update the following:
Enable ‘Display description on course page’
Click on the ‘Backup’ item in the more menu
Confirm you do not see the assignment title, completion information and description
Click on the ‘Restore’ item in the more menu
Confirm you do not see the assignment title, completion information and description
Click on the ‘Locally assigned roles’ item in the more menu
Confirm you do not see the assignment title, completion information and description
Click on the ‘Check Permissions’ item in the more menu
Confirm you do not see the assignment title, completion information and description
Right click and inspect the page content
Confirm you only find a single element with the id 'maincontent'
Click on the ‘Permissions’ item in the more menu
Confirm you do not see the assignment title, completion information and description
Click on the ‘Filters’ item in the more menu
Confirm you do not see the assignment title, completion information and description
Log in as a student
Go to the assignment
Click the add submission button
Confirm you see the assignment title, completion information and description
Book
Login as a teacher
Go to the book activity in the course
Go to the ‘Import chapter’ tab
Confirm you only see the title
Confirm you do not see the completion info and description
Turn on editing
Go to the 'Table of contents' block
Delete all the chapters within the book
Click on the 'Download' link
Confirm you do not see the title, completion info and description
Chat
Log in as a teacher
Go to the chat activity
Confirm the description content has links to the assignment
Confirm the description content has links to the glossary
Click on ‘Use more accessible interface’
Confirm you do not see the standard activity header.
Note: title will be viewable but not handled by the header
Click on the ‘Past sessions’ tab
Confirm you only see the “ {activity title}:Chat sessions”
Choice
Log in as a teacher
Go to the activity
Click on the ‘Responses’ tab
Confirm you only see the activity title
Confirm you do not see the completion and description
Feedback
Log in as a teacher
Go to the activity
Click on the Analysis tab
Confirm you only see the activity title
Confirm you do not see the completion and description
Click the preview link
Confirm you see only the activity title
Click continue
Click the ‘Edit questions’ link
Repeat #4-#5
Choose a numeric question from the 'Add question' dropdown
Confirm you do not see the completion and description
Click on ‘Show responses’
Repeat #4-#5
Click on ‘Show non-respondents’
Repeat #4-#5
Click on Questions > Edit questions
Click 'Save as new template'
Enter a name under 'Save these questions as a new template'
In the 'Use a template' section, select a template
Repeat #4-#5
Click on Questions > Templates
Click on 'Import questions' link
Repeat #4-#5
Folder
Log in as a teacher
Go to the activity
Click on the ‘Edit’ button
Confirm you only see the activity title
Confirm you do not see the completion and description
Forum
Log in as a teacher
Go to the activity
Click on a discussion
Confirm you do not see the completion and description
Click on ‘Export’ from the more menu
Confirm you do not see the activity title, completion and description
Click on the ‘Add a new discussion topic’
Click on ‘Advanced link
Confirm you do not see completion details
Confirm you only see the title and description
Click on the ‘Forum’ tab.
Click on a discussion
Click on ‘Reply’ on a post
Click on ‘Advanced’ link
Confirm you do not see the completion and description
Confirm you see the title
Click on ‘Forum summary report’
Confirm you do not see the standard activity title, completion and description
Click on ‘Settings’ tab and update:
Forum type to ‘A simple single discussion’
Confirm you see the standard activity title, completion
Confirm you do not see the description
Glossary
Log in as a teacher
Go to the activity
Click on ‘Add a entry’
Confirm you see the standard activity title, description
Confirm you do not see the completion information
Create an entry
Click on the 'link'(Permalink) icon against the entry
Confirm you do not see the standard activity title, completion and description
Click on the Glossary tab
Click on the delete icon against a glossary entry
Confirm you do not see the standard activity title, completion and description
Click on ‘Export entries’ tab
Confirm you do not see the standard activity title, completion and description
Click on ‘Import entries’ tab
Confirm you do not see the standard activity title, completion and description
Click on the 'Pending approval' tab
Confirm you see the activity title and completion details
Go back to the glossary view page
Click on the 'Printer-friendly version' link in the ellipsis dropdown
Confirm you do not see the activity title, completion and description
Right click on the page
Select the 'Inspect'
Confirm there is only a single html element with the id "maincontent"
H5p
Log in as a teacher
Go to the activity
Click on ‘View all attempts’ link
Confirm you do not see the standard activity title, completion and description
Data
Log in as a teacher
Go to the activity
Click on ‘Add entry’
Confirm you see the standard activity title, completion and description
Click on 'Cancel'
Click on ‘Export entries’
Confirm you see the standard activity title, completion and description
Click on ‘Import entries’ from the more menu
Confirm you do not see the standard activity title, completion and description
Click on ‘Presets’ from the more menu
Confirm you see the standard activity title, completion and description
Click on ‘Templates’ tab from the more menu
Confirm you see the standard activity title, completion and description
Lesson
Log in as a teacher
Go to the activity
Confirm you see the standard activity title with a help icon, completion and description
Click on the ‘Edit’ link
Click on 'Add a question page' link
Confirm you see the title and description and not completion info
Click on the 'Lesson' tab
Click on the ‘Edit’ link
Click on the 'Expanded' link
Click on the ‘Import questions’
Confirm you see the standard activity title
Confirm you not see the completion and description
Log in as a student
Confirm you see the standard activity title WITHOUT a help icon, completion and description
LTI
Log in as a teacher
Go to the activity
Click on the settings page
Disable the following and save:
Display activity description when launched
Display activity name when launched
Confirm you do not see the standard activity title and description
Confirm you see the completion criteria
Quiz
Log in as a teacher
Go to the activity
Click on the settings page
Delete the description contents and save the activity
Confirm you see the standard activity title and completion
Confirm you do not see the description
Click on the ‘Attempts’ link
Confirm you only see the activity title
Go back to the previous page
Click on the attempt quiz button
Confirm you do not see the standard activity title, completion and description
Complete the quiz
On the summary page, you only see the activity title
Confirm you do not see completion and description
Click on the ‘Submit all and finish’
Confirm you do not see the standard activity title, completion and description
Click on the 'Finish review' link
Click on the ‘Edit Quiz’ link in the ‘More’ menu
Click on the magnifying glass against a question
Confirm you do not see the title, description and activity completion.
Close the popup
Confirm you do not see the standard activity title, completion and description
Click on ‘User Overrides’
Confirm you do not see the standard activity title, completion and description
Click on 'Add user override'
Confirm you do not see completion and description
Confirm you do see the standard activity title
Create an entry and save
Click on the delete icon
Confirm you do not see completion and description
Confirm you do see the standard activity title
Click on the 'Continue' button
Click on ‘Group overrides’
Confirm you do not see the standard activity title, completion and description
Click on ‘Question Bank’ in the more menu
Confirm you do not see the quiz’s activity title, completion and description
Click on ‘Create a new question’ button
Confirm you do not see the quiz’s activity title, completion and description
Click on ‘Import’ link
Confirm you do not see the quiz’s activity title, completion and description
Click on ‘Export’ link
Confirm you do not see the quiz’s activity title, completion and description
Click on ‘Categories’ link
Confirm you do not see the quiz’s activity title, completion and description
Resource / File
Log in as a teacher
Go to the activity
Click on the settings page
Update the settings:
Display - Embed
Display resource description - Disabled
Confirm you do not see the activity’s description
Confirm you do see the activity title and completion
Update the settings:
Display - Automatic
Confirm you do not see the activity’s description
Confirm you do see the activity title and completion
Click on the settings page
Update the settings:
Show size - checked
Show type - checked
Confirm you do see the activity’s description, activity title and completion
Confirm you see the file information - size and type
Click on the settings page
Update the settings:
Display - Inframe
Click the 'Save and display' button
Confirm in the top portion of the screen you see the following:
title
Description
File size and type
Right click on the moodle page
Inspect the content
Confirm there is only a single element with the id 'maincontent'
Scorm
Log in as a teacher
Go to the activity
Confirm you do not see the activity’s description in the activity header (NOTE: Description appears within the tabbed content)
Confirm you do see the activity title and completion
Click on Reports
Confirm you do see the activity title
Confirm you do not see the activity completion and description
Survey - Requires 2 browsers
In browser 1, login as a teacher
Go to the activity
Confirm you see the title, completion info and description in the header
Click on ‘Response reports’
Confirm you do see the activity title
Confirm you do not see the activity completion and description
In browser2, login as a student
Go to the survey page
Confirm you see the title, completion info and description in the header
Complete the survey
Once finished, confirm you do see the title, completion info in the header
Confirm you do not see the description in the header
In browser1, go to the settings tab
Update the following settings:
Survey type - Critical Incidents
In browser2, refresh the page
Confirm you do see the title, completion info and description in the header
URL
Log in as a teacher
Go to the ‘URL’ activity
Confirm you see the activity title, completion and description
Click on the settings page and update the following:
Display - ‘Embed’
Confirm you see the activity title, completion
Confirm you do not see the description
Click on the settings page and update the following:
Display - ‘inframe’
Confirm you see the activity title
Right click on the moodle page
Inspect the content
Confirm there is only a single element with the id 'maincontent'
Go to the ‘BrokenURL’ activity
Confirm you see the activity title and completion
Confirm you see the description only displayed once.
Wiki
Log in as a teacher
Go to the activity
Click on the ‘Files’ link
Confirm you do see the activity title, completion and description
Click on the 'Edit files' button
Confirm you see title and description
Confirm you do not see the completion info
Click on the Comments link
Confirm you do see the activity title, completion and description
Log in as a student
Repeat #2-#6
Page
Log in as a teacher
Go to the activity
Go to settings tab and update the settings:
Display page name - unchecked
Display page description - unchecked
Click on ‘Save and display’
Confirm you do NOT see the activity title and description
Confirm you see the completion displayed
Go to settings tab and update the settings:
Display - 'In pop-up'
Display page name - checked
Display page description - checked
Click on ‘Save and display’
Go back to the course home page
Click on the Page activity
In the pop up window, confirm you see the completion details and description
Confirm you do not see activity title
Workshop (Requires 2 browser)
In browser 1, Log in as a teacher
Go to the activity
Confirm you do see the title WITH a help icon and completion details in the header
Click on the 'Assessment form'
Click on the 'Save and preview' button
Confirm you can see the activity title
Confirm you do not see the completion details and description
Click on the ‘Switch to the submission phase’
Confirm you do not see the activity’s completion and description
Confirm you see the activity title
Click on the ‘Confirm’ button
Click on the ‘Allocate submissions’ within the ‘Submission Phase’ column
Confirm you do not see the completion and description
Confirm you see the activity title
Click on the ‘Submit your work’ link in the ‘Submission phase’ column
Confirm you do not see the activity’s completion and description
Confirm you see the activity title
Click on the ‘Edit assessment form’ in the Setup phase column
Confirm you do not see the activity’s completion and description
Confirm you see the activity title
Go to the settings page and update the following:
Enable Assessment settings > 'Use self-assessment'
In the activity page, click on 'Switch to the submission phase'
In Browser2, Login as a student
Go to the workshop page
Click on the 'Submit your work' link
Provide a submission
In browser1, click on the 'Allocate submissions' link
In the 'Participant is reviewed by' column, select the student in the Add reviewer dropdown
Click on the 'Workshop' tab
Click on the 'Switch to the assessment phase'
In browser 2, go to the workshop view page
Click on the 'Assess' button
Confirm you do not see the activity description and completion details
Confirm you see the activity title
Repeat all on boost
Note: Activity titles are disabled by default