Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 58... Línea 58...
58
    When I am on the forum2 "forum activity" page logged in as teacher1
58
    When I am on the forum2 "forum activity" page logged in as teacher1
59
    And I navigate to "Reports" in current page administration
59
    And I navigate to "Reports" in current page administration
60
    And I should see "Export posts"
60
    And I should see "Export posts"
61
    And the following should exist in the "forumreport_summary_table" table:
61
    And the following should exist in the "forumreport_summary_table" table:
62
    # |                      | Discussions | Replies |                                 |                                |
62
    # |                      | Discussions | Replies |                                 |                                |
63
      | First name / Last name | -3-         | -4-     | Earliest post                   | Most recent post               |
63
      | First name           | -3-         | -4-     | Earliest post                   | Most recent post               |
64
      | Student 1            | 1           | 1       | Thursday, 28 March 2019, 11:50  | Thursday, 6 June 2019, 6:40    |
64
      | Student 1            | 1           | 1       | Thursday, 28 March 2019, 11:50  | Thursday, 6 June 2019, 6:40    |
65
      | Student 2            | 0           | 0       | -                               | -                              |
65
      | Student 2            | 0           | 0       | -                               | -                              |
66
      | Teacher 1            | 1           | 2       | Wednesday, 27 March 2019, 12:10 | Wednesday, 10 July 2019, 9:30  |
66
      | Teacher 1            | 1           | 2       | Wednesday, 27 March 2019, 12:10 | Wednesday, 10 July 2019, 9:30  |
67
    And the following should not exist in the "forumreport_summary_table" table:
67
    And the following should not exist in the "forumreport_summary_table" table:
68
      | First name / Last name |
68
      | First name           |
69
      | Student 3            |
69
      | Student 3            |
70
    And the "Forum selected" select box should contain "All forums in course"
70
    And the "Forum selected" select box should contain "All forums in course"
71
    And the "Forum selected" select box should contain "forum1"
71
    And the "Forum selected" select box should contain "forum1"
72
    And the "Forum selected" select box should contain "forum2"
72
    And the "Forum selected" select box should contain "forum2"
73
    And the "Forum selected" select box should contain "forum3"
73
    And the "Forum selected" select box should contain "forum3"
74
    And the "Forum selected" select box should not contain "forum4"
74
    And the "Forum selected" select box should not contain "forum4"
75
    Then I select "All forums in course" from the "Forum selected" singleselect
75
    Then I select "All forums in course" from the "Forum selected" singleselect
76
    And I should not see "Export posts"
76
    And I should not see "Export posts"
77
    And the following should exist in the "forumreport_summary_table" table:
77
    And the following should exist in the "forumreport_summary_table" table:
78
    # |                      | Discussions | Replies |                                 |                                  |
78
    # |                      | Discussions | Replies |                                 |                                  |
79
      | First name / Last name | -3-         | -4-     | Earliest post                   | Most recent post                 |
79
      | First name           | -3-         | -4-     | Earliest post                   | Most recent post                 |
80
      | Student 1            | 2           | 3       | Thursday, 25 January 2018, 4:40 | Saturday, 25 January 2020, 11:50 |
80
      | Student 1            | 2           | 3       | Thursday, 25 January 2018, 4:40 | Saturday, 25 January 2020, 11:50 |
81
      | Student 2            | 0           | 0       | -                               | -                                |
81
      | Student 2            | 0           | 0       | -                               | -                                |
82
      | Teacher 1            | 4           | 3       | Sunday, 14 January 2018, 9:00   | Thursday, 26 December 2019, 9:30 |
82
      | Teacher 1            | 4           | 3       | Sunday, 14 January 2018, 9:00   | Thursday, 26 December 2019, 9:30 |
83
    And the following should not exist in the "forumreport_summary_table" table:
83
    And the following should not exist in the "forumreport_summary_table" table:
84
      | First name / Last name |
84
      | First name |
85
      | Student 3            |
85
      | Student 3  |
Línea 86... Línea 86...
86
 
86
 
87
  Scenario: Course forum summary report correctly formats forum activity names
87
  Scenario: Course forum summary report correctly formats forum activity names
88
    Given the "multilang" filter is "on"
88
    Given the "multilang" filter is "on"
89
    And the "multilang" filter applies to "content and headings"
89
    And the "multilang" filter applies to "content and headings"
Línea 102... Línea 102...
102
      | forumreport/summary:view | Allow      | student | Course       | C1        |
102
      | forumreport/summary:view | Allow      | student | Course       | C1        |
103
    When I am on the "forum1" "forum activity" page logged in as student1
103
    When I am on the "forum1" "forum activity" page logged in as student1
104
    And I navigate to "Reports" in current page administration
104
    And I navigate to "Reports" in current page administration
105
    And the following should exist in the "forumreport_summary_table" table:
105
    And the following should exist in the "forumreport_summary_table" table:
106
    # |                      | Discussions | Replies |                                 |                                 |
106
    # |                      | Discussions | Replies |                                 |                                 |
107
      | First name / Last name | -2-         | -3-     | Earliest post                   | Most recent post                |
107
      | First name           | -2-         | -3-     | Earliest post                   | Most recent post                |
108
      | Student 1            | 0           | 1       | Thursday, 25 January 2018, 4:40 | Thursday, 25 January 2018, 4:40 |
108
      | Student 1            | 0           | 1       | Thursday, 25 January 2018, 4:40 | Thursday, 25 January 2018, 4:40 |
109
    And the following should not exist in the "forumreport_summary_table" table:
109
    And the following should not exist in the "forumreport_summary_table" table:
110
      | First name / Last name |
110
      | First name           |
111
      | Student 2            |
111
      | Student 2            |
112
      | Student 3            |
112
      | Student 3            |
113
      | Teacher 1            |
113
      | Teacher 1            |
114
    And the "Forum selected" select box should contain "All forums in course"
114
    And the "Forum selected" select box should contain "All forums in course"
115
    And the "Forum selected" select box should contain "forum1"
115
    And the "Forum selected" select box should contain "forum1"
Línea 117... Línea 117...
117
    And the "Forum selected" select box should contain "forum3"
117
    And the "Forum selected" select box should contain "forum3"
118
    And the "Forum selected" select box should not contain "forum4"
118
    And the "Forum selected" select box should not contain "forum4"
119
    Then I select "All forums in course" from the "Forum selected" singleselect
119
    Then I select "All forums in course" from the "Forum selected" singleselect
120
    And the following should exist in the "forumreport_summary_table" table:
120
    And the following should exist in the "forumreport_summary_table" table:
121
    # |                      | Discussions | Replies |                                 |                                  |
121
    # |                      | Discussions | Replies |                                 |                                  |
122
      | First name / Last name | -2-         | -3-     | Earliest post                   | Most recent post                 |
122
      | First name           | -2-         | -3-     | Earliest post                   | Most recent post                 |
123
      | Student 1            | 2           | 3       | Thursday, 25 January 2018, 4:40 | Saturday, 25 January 2020, 11:50 |
123
      | Student 1            | 2           | 3       | Thursday, 25 January 2018, 4:40 | Saturday, 25 January 2020, 11:50 |
124
    And the following should not exist in the "forumreport_summary_table" table:
124
    And the following should not exist in the "forumreport_summary_table" table:
125
      | First name / Last name |
125
      | First name           |
126
      | Student 2            |
126
      | Student 2            |
127
      | Student 3            |
127
      | Student 3            |
128
      | Teacher 1            |
128
      | Teacher 1            |