Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 28... Línea 28...
28
      | Allow guest access | Yes |
28
      | Allow guest access | Yes |
29
    And I press "Save changes"
29
    And I press "Save changes"
30
    When I am on the "Test forum name" "forum activity" page logged in as student1
30
    When I am on the "Test forum name" "forum activity" page logged in as student1
31
    Then I should not see "Subscribe to this forum"
31
    Then I should not see "Subscribe to this forum"
Línea -... Línea 32...
-
 
32
 
32
 
33
  @javascript
33
  Scenario: Allow guest access with password
34
  Scenario: Allow guest access with password
34
    Given I click on "Edit" "link" in the "Guest access" "table_row"
35
    Given I click on "Edit" "link" in the "Guest access" "table_row"
35
    And I set the following fields to these values:
36
    And I set the following fields to these values:
36
      | Allow guest access | Yes |
37
      | Allow guest access | Yes |
37
      | Password | moodle_rules |
38
      | Password | moodle_rules |
38
    And I press "Save changes"
39
    And I press "Save changes"
39
    When I am on the "Course 1" course page logged in as student1
40
    When I am on the "Course 1" course page logged in as student1
-
 
41
    Then I should see "Guest access"
40
    Then I should see "Guest access"
42
    And I press "Access as a guest"
41
    And I set the following fields to these values:
43
    And I set the following fields to these values:
42
      | Password | moodle_rules |
44
      | Password | moodle_rules |
43
    And I press "Submit"
45
    And I click on "Access as a guest" "button" in the "Guest access" "dialogue"