-
Functional Test
-
Minor
-
Moodle 3.10
-
None
This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!
- Log in as an admin and go to Site administration ► Users ► Accounts ► User profile fields.
- Select "Text input" field and set following:
- shortname = qa
- Name = Moodle QA
- Is this field required? = Yes
- Is this field locked? = No
- Press "Save changes".
- Log out then log in as a student and verify that you get redirected to the "Edit profile" page.
- Enter value for "Moodle QA" as "Test" and press "Update profile".
- Log out then log in again as the same student.
- Verify that this time you are redirected to the Dashboard.
- Log out then log in again as admin and verify that you get redirected to the "Edit profile" page.
- Enter value for "Moodle QA" as "Test" and press "Update profile".
- Go to Site administration ► Users ► Accounts ► User profile fields.
- Click "Edit" Icon next to "Moodle QA" field and set following:
- Is this field required? = No
- Press "Save changes"
- Log out then log in as a different student and verify that this time you don't get redirected to the "Edit profile" page.
- is a QA test written for
-
MDL-46946 user_not_fully_set_up() should force users to complete required custom user profile fields
- Closed