Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
Feature: Fixture to test cleanup of a testing scenario
2
 
3
  Scenario: Create course content to cleanup later
4
    Given the following config values are set as admin:
5
      | sendcoursewelcomemessage | 0 | enrol_manual |
6
    And the following "course" exists:
7
      | fullname         | Course cleanup |
8
      | shortname        | Cleanup        |
9
      | category         | 0              |
10
      | numsections      | 3              |
11
      | initsections     | 1              |
12
    Given the following "users" exist:
13
      | username     | firstname | lastname | email                     |
14
      | cleanteacher | Teacher   | Test1    | samplecleanup@example.com |
15
    And the following "course enrolments" exist:
16
      | user         | course  | role           |
17
      | cleanteacher | Cleanup | editingteacher |
18
 
19
  @cleanup
20
  Scenario: remove fixture to test cleanup of a testing scenario
21
    Given the course "Course cleanup" is deleted
22
    And the user "cleanteacher" is deleted