Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 19... Línea 19...
19
      | teacher1 | C1     | editingteacher |
19
      | teacher1 | C1     | editingteacher |
20
    And the following "activities" exist:
20
    And the following "activities" exist:
21
      | activity | name           | course | gradepass | completion | completionview | completionusegrade | completionpassgrade |
21
      | activity | name           | course | gradepass | completion | completionview | completionusegrade | completionpassgrade |
22
      | lti      | Music history  | C1     | 50        | 2          | 1              | 1                  | 1                   |
22
      | lti      | Music history  | C1     | 50        | 2          | 1              | 1                  | 1                   |
Línea 23... Línea 23...
23
 
23
 
24
  Scenario: View automatic completion items as a teacher
24
  Scenario: Verify that the LTI completion conditions are displayed to teachers
25
    Given I am on the "Music history" "lti activity" page logged in as teacher1
25
    Given I am on the "Music history" "lti activity" page logged in as teacher1
26
    Then "Music history" should have the "View" completion condition
26
    Then "Music history" should have the "View" completion condition
27
    And "Music history" should have the "Receive a grade" completion condition
27
    And "Music history" should have the "Receive a grade" completion condition
Línea 28... Línea 28...
28
    And "Music history" should have the "Receive a passing grade" completion condition
28
    And "Music history" should have the "Receive a passing grade" completion condition
29
 
29
 
30
  @javascript
30
  @javascript
31
  Scenario: View automatic completion items as a student
31
  Scenario: Verify that students can complete an LTI activity by achieving a passing grade
32
    Given I am on the "Music history" "lti activity" page logged in as student1
32
    Given I am on the "Music history" "lti activity" page logged in as student1
33
    And the "View" completion condition of "Music history" is displayed as "done"
33
    And the "View" completion condition of "Music history" is displayed as "done"
34
    And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
34
    And the "Receive a grade" completion condition of "Music history" is displayed as "todo"