Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_course @tool_generator
2
Feature: Admins can create test courses
3
  In order to create testing information
4
  As an admin
5
  I need to create testing courses quickly
6
 
7
  @javascript
8
  Scenario: 'Auto-enrol admin in new courses' setting when creating a test course as admin
9
    Given I log in as "admin"
10
    And the following config values are set as admin:
11
      | enroladminnewcourse | 0 |
12
    And I navigate to "Development > Make test course" in site administration
13
    And I set the following fields to these values:
14
      | Size of course    | XS                      |
15
      | Course full name  | Fake course for testing |
16
      | Course short name | fake                    |
17
    And I press "Create course"
18
    And I click on "Continue" "link"
19
    And I navigate to course participants
20
    Then I should not see "Teacher"
21
    And I should not see "Nothing to display"
22
    And the following config values are set as admin:
23
      | enroladminnewcourse | 1 |
24
    And I navigate to "Courses > Add a new course" in site administration
25
    And I navigate to "Development > Make test course" in site administration
26
    And I set the following fields to these values:
27
      | Size of course    | XS                          |
28
      | Course full name  | New fake course for testing |
29
      | Course short name | newfake                     |
30
    And I press "Create course"
31
    And I click on "Continue" "link"
32
    And I navigate to course participants
33
    And I should see "Teacher"