Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 59... Línea 59...
59
    Given the following policies exist:
59
    Given the following policies exist:
60
      | Name       | Revision | Content    | Summary     | Status   |
60
      | Name       | Revision | Content    | Summary     | Status   |
61
      | Policy1    | v1       | full text2 | short text2 | active   |
61
      | Policy1    | v1       | full text2 | short text2 | active   |
62
    And I log in as "manager"
62
    And I log in as "manager"
63
    And I press "Next"
63
    And I press "Next"
64
    And I set the field "I agree to the Policy1" to "1"
64
    And I set the field "I agree to the Policy1." to "1"
65
    And I press "Next"
65
    And I press "Next"
66
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
66
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
67
    And I click on "Edit" "link" in the "Policy1" "table_row"
67
    And I click on "Edit" "link" in the "Policy1" "table_row"
68
    And "Draft" "field" should not exist
68
    And "Draft" "field" should not exist
69
    And "Active" "field" should not exist
69
    And "Active" "field" should not exist
Línea 81... Línea 81...
81
    Given the following policies exist:
81
    Given the following policies exist:
82
      | Name       | Revision | Content    | Summary     | Status   |
82
      | Name       | Revision | Content    | Summary     | Status   |
83
      | Policy1    | v1       | full text2 | short text2 | active   |
83
      | Policy1    | v1       | full text2 | short text2 | active   |
84
    And I log in as "manager"
84
    And I log in as "manager"
85
    And I press "Next"
85
    And I press "Next"
86
    And I set the field "I agree to the Policy1" to "1"
86
    And I set the field "I agree to the Policy1." to "1"
87
    And I press "Next"
87
    And I press "Next"
88
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
88
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
89
    And I click on "Edit" "link" in the "Policy1" "table_row"
89
    And I click on "Edit" "link" in the "Policy1" "table_row"
90
    And I set the field "Version" to "v2"
90
    And I set the field "Version" to "v2"
91
    And I press "Save as draft"
91
    And I press "Save as draft"
Línea 99... Línea 99...
99
    Given the following policies exist:
99
    Given the following policies exist:
100
      | Name       | Revision | Content    | Summary     | Status   |
100
      | Name       | Revision | Content    | Summary     | Status   |
101
      | Policy1    | v1       | full text2 | short text2 | active   |
101
      | Policy1    | v1       | full text2 | short text2 | active   |
102
    And I log in as "manager"
102
    And I log in as "manager"
103
    And I press "Next"
103
    And I press "Next"
104
    And I set the field "I agree to the Policy1" to "1"
104
    And I set the field "I agree to the Policy1." to "1"
105
    And I press "Next"
105
    And I press "Next"
106
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
106
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
107
    And I click on "Edit" "link" in the "Policy1" "table_row"
107
    And I click on "Edit" "link" in the "Policy1" "table_row"
108
    And I set the field "Name" to "Policy2"
108
    And I set the field "Name" to "Policy2"
109
    And I set the field "Version" to "v2"
109
    And I set the field "Version" to "v2"
Línea 178... Línea 178...
178
    Given the following policies exist:
178
    Given the following policies exist:
179
      | Name       | Revision | Content    | Summary     | Status   |
179
      | Name       | Revision | Content    | Summary     | Status   |
180
      | Policy1    | v1       | full text2 | short text2 | active   |
180
      | Policy1    | v1       | full text2 | short text2 | active   |
181
    And I log in as "manager"
181
    And I log in as "manager"
182
    And I press "Next"
182
    And I press "Next"
183
    And I set the field "I agree to the Policy1" to "1"
183
    And I set the field "I agree to the Policy1." to "1"
184
    And I press "Next"
184
    And I press "Next"
185
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
185
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
186
    And I click on "Set status to \"Inactive\"" "link" in the "Policy1" "table_row"
186
    And I click on "Set status to \"Inactive\"" "link" in the "Policy1" "table_row"
187
    Then I should see "You are about to inactivate policy"
187
    Then I should see "You are about to inactivate policy"
188
    And I press "Continue"
188
    And I press "Continue"
Línea 216... Línea 216...
216
    Given the following policies exist:
216
    Given the following policies exist:
217
      | Name       | Revision | Content    | Summary     | Status   |
217
      | Name       | Revision | Content    | Summary     | Status   |
218
      | Policy1    | v1       | full text2 | short text2 | active   |
218
      | Policy1    | v1       | full text2 | short text2 | active   |
219
    And I log in as "manager"
219
    And I log in as "manager"
220
    And I press "Next"
220
    And I press "Next"
221
    And I set the field "I agree to the Policy1" to "1"
221
    And I set the field "I agree to the Policy1." to "1"
222
    And I press "Next"
222
    And I press "Next"
223
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
223
    And I navigate to "Users > Privacy and policies > Manage policies" in site administration
224
    And I click on "Set status to \"Inactive\"" "link" in the "Policy1" "table_row"
224
    And I click on "Set status to \"Inactive\"" "link" in the "Policy1" "table_row"
225
    And I press "Continue"
225
    And I press "Continue"
226
    And I click on "Create a new draft" "link" in the "Policy1" "table_row"
226
    And I click on "Create a new draft" "link" in the "Policy1" "table_row"
Línea 245... Línea 245...
245
    Given the following policies exist:
245
    Given the following policies exist:
246
      | Name       | Revision | Content    | Summary     | Status   |
246
      | Name       | Revision | Content    | Summary     | Status   |
247
      | Policy1    | v1       | full text2 | short text2 | active   |
247
      | Policy1    | v1       | full text2 | short text2 | active   |
248
    And I log in as "user1"
248
    And I log in as "user1"
249
    And I press "Next"
249
    And I press "Next"
250
    And I set the field "I agree to the Policy1" to "1"
250
    And I set the field "I agree to the Policy1." to "1"
251
    And I press "Next"
251
    And I press "Next"
252
    And I follow "Preferences" in the user menu
252
    And I follow "Preferences" in the user menu
253
    And I should see "Preferences"
253
    And I should see "Preferences"
254
    And I should see "Policies"
254
    And I should see "Policies"
255
    # User should see a redirect back to previous page link.
255
    # User should see a redirect back to previous page link.