Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@enrol
2
Feature: User can be enrolled into a course
3
  In order to let them participate in course activities
4
  As an admin
5
  I must be able to enrol users
6
 
7
  Background:
8
    Given the following "users" exist:
9
      | username | firstname | lastname | email                |
10
      | student1 | Studie    | One      | student1@example.com |
11
    And the following "courses" exist:
12
      | fullname   | shortname |
13
      | Course 001 | C001      |
14
    And I log in as "admin"
15
    And I am on "Course 001" course homepage
16
 
17
  Scenario: User can be enrolled without javascript
18
    When I enrol "Studie One" user as "Student"
19
    And I am on the "Course 001" "Enrolled users" page
20
    Then I should see "Studie One"
21
 
22
  @javascript
23
  Scenario: User can be enrolled with javascript enrol element
24
    When I enrol "Studie One" user as "Student"
25
    And I am on the "Course 001" "Enrolled users" page
26
    Then I should see "Studie One"