Show
Test Setup:
At least 1 course.
Adding activity to a course (return)
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button. Make sure that click "Save and return to course button" close existing dialog and course page show changes.
Links must work correctly. Next make sure that after reload page new activity/resource exist.
Adding activity to a course (display)
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button. Make sure that click on "Save and display" button redirect to activity/resource page, and save all information.
Make sure that after load course page new activity/resource exist.
Adding activity to a course (cancel on add)
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Make sure that click on "Cancel" button close dialog and do not change page.
Adding activity to a course (error output display)
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button. Make sure that click on "Save and display" button validate form, show error if something wrong and does not close dialog.
Make sure click on "Cancel" button close dialog and do not change page.
Adding activity to a course (error output return to course)
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button. Make sure that click on "Save and return to course" button validate form, show error if something wrong and does not close dialog.
Make sure click on "Cancel" button close dialog and do not change page.
Adding activity to a course (cancel on resource/activity settings)
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button. Make sure click on "Cancel" button close existing dialog and does not reload page.
Edit an existing activity (cancel)
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Cancel" button close existing dialog and does not reload page.
Edit an existing activity (error output)
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Save and display" button validate form, show error if something wrong and does not close dialog.
Edit an existing activity (error output)
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Save and return to course" button validate form, show error if something wrong and does not close dialog.
Edit an existing activity (save changes)
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Save and display" button redirect to activity/resource page, and save changes.
Next make sure that after load course page activity/resource changes exist.
Edit an existing activity (save changes)
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Save and return to course" button close existing dialog and show changes on course page without reload.
Links must work correctly. Next make sure that after reload page activity/resource changes exist.
Javascript check
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Cancel" button close existing dialog. Next click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button. Make sure that all field are editable, validated. Next make sure that editors does not duplicate.
Javascript check
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource. Click on "Add" button.
Make sure that click on "Cancel" button close existing dialog. Next click on "edit" for some activity/resource, click on "edit settings".
Make sure that all field are editable, validated. Next make sure that editors does not duplicate.
Javascript check
Go to course, turn edit mod on. Click on "edit" for some activity/resource, click on "edit settings".
Make sure that click on "Cancel" button close existing dialog. Next repeat the previous steps. Make sure that all field are editable, validated.
Next make sure that editors does not duplicate.
Javascript check
Go to course, turn edit mod on. Click on "Add an activity or resource", choose one of available activity/resource.
Click on "Add" button.
Make sure that click on "Cancel" button close existing dialog.
Next repeat the previous steps. Make sure that all field are editable, validated.
Next make sure that editors does not duplicate.