Show
Create a new database activity in a course. Save and display it.
Zero state
On the view page's zero-state, check the page's title.
Confirm that the page title is the database activity's name, the course name, and the site name.
Presets
On the zero state page, click on Use a preset or click on the Presets link on the navigation menu.
Check the page title.
Confirm that the page title is set to "Presets", followed by the database activity's name, the course name, and the site name.
Preview any preset.
Check the page title.
Confirm that the page title is set to "Preview of [preset name] ", followed by the database activity's name, the course name, and the site name.
Fields
Click on the Fields link on the navigation menu.
Check the page title.
Confirm that the page title is set to "Manage fields", followed by the database activity's name, the course name, and the site name.
Create a "Short text" field.
On the "Create a field" page, check the page title.
Confirm that the page title is set to "Create a field", followed by the database activity's name, the course name, and the site name.
Fill out the form and click Save.
Edit the field
Check the page title of the form
Confirm that the page title is set to "Edit field", followed by the database activity's name, the course name, and the site name.
Go back to the "Manage fields" page.
Delete the field.
On the Delete field confirmation page, check the page title.
Confirm that the page title is set to "Delete field", followed by the database activity's name, the course name, and the site name.
Press Continue to delete the field.
Templates
Click on the Templates link on the navigation menu.
You should see "No templates yet" on the templates page with the field deleted from the previous testing section. Check the page title.
Confirm that the page title is set to "Manage templates", followed by the database activity's name, the course name, and the site name.
Now, create a field or use a preset (e.g. the Journal preset) to create fields for the database activity.
Go back to the Templates page. You'd be on the Add entry template page. Check the page title.
Confirm that the page title is set to "Add entry template", followed by the database activity's name, the course name, and the site name.
Go through the other template pages by changing the value of the tertiary navigation menu and confirm that the title matches the selected menu item, followed by the database activity's name, the course name, and then the site name.
Entries
Go back to the view page of the database activity.
You should see "No entries yet"
Click "Import entries"
Check the page title on the Import entries page.
Confirm that the page title is set to "Import entries", followed by the database activity's name, the course name, and the site name.
Go back to the view page.
Click Add entry
Check the page title on the "Add entry" page
Confirm that the page title is set to "New entry", followed by the database activity's name, the course name, and the site name.
Fill out the form and save the entry. You'll be redirected to the Single view for the entry.
Confirm that the page title is set to "View single", followed by the database activity's name, the course name, and the site name.
Create a few more entries.
Edit an entry and check the page title
Confirm that the page title is set to "Edit entry", followed by the database activity's name, the course name, and the site name.
Cancel the form. You'll probably be redirected to the list view of the database activity.
Check the page title.
Confirm that the page title is set to the database activity's name, the course name, and the site name.
Open an entry's menu and select Delete.
Check the page title on the delete confirmation page.
Confirm that the page title is set to "Delete entry", followed by the database activity's name, the course name, and the site name.
Delete the entry.
You should be redirected back to the list page.
Enter something in the Search text box, press Save settings, and then check the page title.
Confirm that the page title is set to Entries containing " [your search term] " , followed by the database activity's name, the course name, and the site name.
Click on Clear all
On the Actions menu, select Export entries.
Check the page title.
Confirm that the page title is set to "Export entries", followed by the database activity's name, the course name, and the site name.
Index
Go to the course homepage
Take note of the id parameter on the URL.
Go to [your Moodle URL] /mod/data/index.php?id= [course id] ]
Check the page title.
Confirm that the page title is set to "Databases", followed by the course name, then the site name.