| Línea 46... |
Línea 46... |
| 46 |
And I press "Save changes"
|
46 |
And I press "Save changes"
|
| 47 |
Then I should see "Victim User 1"
|
47 |
Then I should see "Victim User 1"
|
| 48 |
And I should see "Awaiting approval" in the "Victim User 1" "table_row"
|
48 |
And I should see "Awaiting approval" in the "Victim User 1" "table_row"
|
| 49 |
And I open the action menu in "Victim User 1" "table_row"
|
49 |
And I open the action menu in "Victim User 1" "table_row"
|
| 50 |
And I follow "Approve request"
|
50 |
And I follow "Approve request"
|
| - |
|
51 |
And I wait until "Approve request" "button" exists
|
| 51 |
And I press "Approve request"
|
52 |
And I press "Approve request"
|
| 52 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
53 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
| 53 |
And I run all adhoc tasks
|
54 |
And I run all adhoc tasks
|
| 54 |
And I reload the page
|
55 |
And I reload the page
|
| 55 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
56 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
| 56 |
And I open the action menu in "Victim User 1" "table_row"
|
57 |
And I open the action menu in "Victim User 1" "table_row"
|
| 57 |
And following "Download" should download between "1" and "200000" bytes
|
58 |
And following "Download" should download a file that:
|
| - |
|
59 |
| Contains file in zip | index.html |
|
| 58 |
And the following config values are set as admin:
|
60 |
And the following config values are set as admin:
|
| 59 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
61 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
| 60 |
And I wait "1" seconds
|
62 |
And I wait "1" seconds
|
| 61 |
And I navigate to "Users > Privacy and policies > Data requests" in site administration
|
63 |
And I navigate to "Users > Privacy and policies > Data requests" in site administration
|
| 62 |
And I should see "Expired" in the "Victim User 1" "table_row"
|
64 |
And I should see "Expired" in the "Victim User 1" "table_row"
|
| Línea 87... |
Línea 89... |
| 87 |
And I should see "Approved" in the "Export all of my personal data" "table_row"
|
89 |
And I should see "Approved" in the "Export all of my personal data" "table_row"
|
| 88 |
And I run all adhoc tasks
|
90 |
And I run all adhoc tasks
|
| 89 |
And I reload the page
|
91 |
And I reload the page
|
| 90 |
And I should see "Download ready" in the "Export all of my personal data" "table_row"
|
92 |
And I should see "Download ready" in the "Export all of my personal data" "table_row"
|
| 91 |
And I open the action menu in "Victim User 1" "table_row"
|
93 |
And I open the action menu in "Victim User 1" "table_row"
|
| 92 |
And following "Download" should download between "1" and "200000" bytes
|
94 |
And following "Download" should download a file that:
|
| - |
|
95 |
| Contains file in zip | index.html |
|
| Línea 93... |
Línea 96... |
| 93 |
|
96 |
|
| 94 |
And the following config values are set as admin:
|
97 |
And the following config values are set as admin:
|
| 95 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
98 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
| 96 |
And I wait "1" seconds
|
99 |
And I wait "1" seconds
|
| Línea 113... |
Línea 116... |
| 113 |
And I log out
|
116 |
And I log out
|
| 114 |
And I log in as "admin"
|
117 |
And I log in as "admin"
|
| 115 |
And I navigate to "Users > Privacy and policies > Data requests" in site administration
|
118 |
And I navigate to "Users > Privacy and policies > Data requests" in site administration
|
| 116 |
And I open the action menu in "Victim User 1" "table_row"
|
119 |
And I open the action menu in "Victim User 1" "table_row"
|
| 117 |
And I follow "Approve request"
|
120 |
And I follow "Approve request"
|
| - |
|
121 |
And I wait until "Approve request" "button" exists
|
| 118 |
And I press "Approve request"
|
122 |
And I press "Approve request"
|
| Línea 119... |
Línea 123... |
| 119 |
|
123 |
|
| 120 |
And I log out
|
124 |
And I log out
|
| 121 |
And I log in as "parent"
|
125 |
And I log in as "parent"
|
| Línea 124... |
Línea 128... |
| 124 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
128 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
| 125 |
And I run all adhoc tasks
|
129 |
And I run all adhoc tasks
|
| 126 |
And I reload the page
|
130 |
And I reload the page
|
| 127 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
131 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
| 128 |
And I open the action menu in "Victim User 1" "table_row"
|
132 |
And I open the action menu in "Victim User 1" "table_row"
|
| 129 |
And following "Download" should download between "1" and "200000" bytes
|
133 |
And following "Download" should download a file that:
|
| - |
|
134 |
| Contains file in zip | index.html |
|
| Línea 130... |
Línea 135... |
| 130 |
|
135 |
|
| 131 |
And the following config values are set as admin:
|
136 |
And the following config values are set as admin:
|
| 132 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
137 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
| 133 |
And I wait "1" seconds
|
138 |
And I wait "1" seconds
|
| Línea 183... |
Línea 188... |
| 183 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
188 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
| 184 |
And I run all adhoc tasks
|
189 |
And I run all adhoc tasks
|
| 185 |
And I reload the page
|
190 |
And I reload the page
|
| 186 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
191 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
| 187 |
And I open the action menu in "Victim User 1" "table_row"
|
192 |
And I open the action menu in "Victim User 1" "table_row"
|
| 188 |
And following "Download" should download between "1" and "172000" bytes
|
193 |
And following "Download" should download a file that:
|
| - |
|
194 |
| Contains file in zip | index.html |
|
| 189 |
And the following config values are set as admin:
|
195 |
And the following config values are set as admin:
|
| 190 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
196 |
| privacyrequestexpiry | 1 | tool_dataprivacy |
|
| 191 |
And I wait "1" seconds
|
197 |
And I wait "1" seconds
|
| 192 |
And I navigate to "Users > Privacy and policies > Data requests" in site administration
|
198 |
And I navigate to "Users > Privacy and policies > Data requests" in site administration
|
| 193 |
And I should see "Expired" in the "Victim User 1" "table_row"
|
199 |
And I should see "Expired" in the "Victim User 1" "table_row"
|
| Línea 227... |
Línea 233... |
| 227 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
233 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
| 228 |
And I run all adhoc tasks
|
234 |
And I run all adhoc tasks
|
| 229 |
And I reload the page
|
235 |
And I reload the page
|
| 230 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
236 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
| 231 |
And I open the action menu in "Victim User 1" "table_row"
|
237 |
And I open the action menu in "Victim User 1" "table_row"
|
| 232 |
And following "Download" should download between "1" and "180000" bytes
|
238 |
And following "Download" should download a file that:
|
| - |
|
239 |
| Contains file in zip | index.html |
|
| Línea 233... |
Línea 240... |
| 233 |
|
240 |
|
| 234 |
@javascript
|
241 |
@javascript
|
| 235 |
Scenario: Filter before export data for a user and download it in the view request action
|
242 |
Scenario: Filter before export data for a user and download it in the view request action
|
| 236 |
Given the following "courses" exist:
|
243 |
Given the following "courses" exist:
|
| Línea 260... |
Línea 267... |
| 260 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
267 |
And I should see "Approved" in the "Victim User 1" "table_row"
|
| 261 |
And I run all adhoc tasks
|
268 |
And I run all adhoc tasks
|
| 262 |
And I reload the page
|
269 |
And I reload the page
|
| 263 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
270 |
And I should see "Download ready" in the "Victim User 1" "table_row"
|
| 264 |
And I open the action menu in "Victim User 1" "table_row"
|
271 |
And I open the action menu in "Victim User 1" "table_row"
|
| 265 |
And following "Download" should download between "1" and "180000" bytes
|
272 |
And following "Download" should download a file that:
|
| - |
|
273 |
| Contains file in zip | index.html |
|