Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 12... Línea 12...
12
      | username | firstname |
12
      | username | firstname |
13
      | teacher  | Teacher   |
13
      | teacher  | Teacher   |
14
    And the following "course enrolments" exist:
14
    And the following "course enrolments" exist:
15
      | user    | course | role           |
15
      | user    | course | role           |
16
      | teacher | C1     | editingteacher |
16
      | teacher | C1     | editingteacher |
-
 
17
    And the following "activities" exist:
-
 
18
      | activity   | name    | course | idnumber |
-
 
19
      | qbank      | Qbank 1 | C1     | qbank1   |
Línea 17... Línea 20...
17
 
20
 
18
  @javascript @_file_upload
21
  @javascript @_file_upload
19
  Scenario: import some Aiken questions
22
  Scenario: import some Aiken questions
20
    Given I am on the "Course 1" "core_question > course question import" page logged in as "teacher"
23
    Given I am on the "Qbank 1" "core_question > question import" page logged in as "teacher"
21
    And I set the field "id_format_aiken" to "1"
24
    And I set the field "id_format_aiken" to "1"
22
    And I upload "question/format/aiken/tests/fixtures/questions.aiken.txt" file to "Import" filemanager
25
    And I upload "question/format/aiken/tests/fixtures/questions.aiken.txt" file to "Import" filemanager
23
    When I press "id_submitbutton"
26
    When I press "id_submitbutton"
24
    Then I should see "Parsing questions from import file."
27
    Then I should see "Parsing questions from import file."