Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
@mod @mod_subsection
2
Feature: The course overview report should show activities in order within subsections
3
  In order to have a better overview of the activities in a course
4
  As a teacher
5
  I want to see the activities in subsections in the same order as they appear on the course page
6
 
7
  Background:
8
    Given the following "users" exist:
9
      | username | firstname | lastname | email                |
10
      | teacher1 | Teacher   | 1        | teacher1@example.com |
11
    And the following "courses" exist:
12
      | fullname | shortname | category | numsections | initsections |
13
      | Course 1 | C1        | 0        | 2           | 1            |
14
    And the following "course enrolments" exist:
15
      | user     | course | role           |
16
      | teacher1 | C1     | editingteacher |
17
    And the following "activities" exist:
18
      | activity   | name                     | course | idnumber    | section |
19
      | assign     | Assignment 1             | C1     | assignment1 | 1       |
20
      | subsection | Subsection 1             | C1     | subsection1 | 1       |
21
      | assign     | Assignment in subsection | C1     | assignment3 | 3       |
22
      | assign     | Assignment 3             | C1     | assignment3 | 1       |
23
    And I log in as "teacher1"
24
 
25
  Scenario: Activities in subsections appear in the course activities report in the same order of the course page.
26
    When  I am on the "Course 1" "course > activities > assign" page logged in as "teacher1"
27
    Then "Assignment in subsection" "text" should appear after "Assignment 1" "text" in the "Table listing all Assignment activities" table
28
    And "Assignment in subsection" "text" should appear before "Assignment 3" "text" in the "Table listing all Assignment activities" table