Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-1756

Maximum number of weeks/topics for course can be configured and not restricted to 52

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None

      Description

      Prerequisite:

      1. You should know one user credential, who has admin role.
      2. You should know one user credential, who has manager role.
      3. Use course topic format for testing

      Test 1:

      1. Login as admin
      2. Navigate to "Course default settings" (Settings -> Site administration -> Courses -> Course default settings)
      3. Change "Maximum for number of weeks/topicsmoodlecourse | maxsections" to 100
      4. Click save changes
      5. Check "Number of weeks/topicsmoodlecourse | numsections" drop-down and make sure it goes up-to 100

      Test 2:

      1. Log in as manager
      2. Create a new course (Settings -> Site administration -> Courses -> Add/edit courses and click "Add a new course")
      3. Change "Number of weeks/topics" to 90 and enter required information
      4. Navigate to this course and make sure you have 90 sections.

      Test 3:

      1. Log in as admin
      2. Navigate to "Course default settings" (Settings -> Site administration -> Courses -> Course default settings)
      3. Change "Maximum for number of weeks/topics moodlecourse | maxsections" to 0
      4. Click save changes
      5. Check "Number of weeks/topics moodlecourse | numsections" drop-down and make sure it only show 0

      Test 4:

      1. Log in as manager
      2. Create a new course (Settings -> Site administration -> Courses -> Add/edit courses and click "Add a new course")
      3. Make sure you only see 0 for "Number of weeks/topics" and there is no way to change this.
      4. Navigate to this course and make sure only default section is present.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nobody Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: