Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 162... Línea 162...
162
    And I click on "Show less" "button" in the "section-1" "core_availability > Section availability"
162
    And I click on "Show less" "button" in the "section-1" "core_availability > Section availability"
163
    And I should not see "Email address" in the "section-1" "core_availability > Section availability"
163
    And I should not see "Email address" in the "section-1" "core_availability > Section availability"
Línea 164... Línea 164...
164
 
164
 
165
    # Section 2 should not be available at all
165
    # Section 2 should not be available at all
-
 
166
    And I should not see "Section 2" in the "region-main" "region"
-
 
167
 
-
 
168
  @javascript
-
 
169
  Scenario: Change default display for in manage restriction, then check eye icon by add restriction access to activity.
-
 
170
    Given I log in as "admin"
-
 
171
    When I navigate to "Plugins > Availability restrictions > Manage restrictions" in site administration
-
 
172
    # Change value for display eye.
-
 
173
    And I click on "Hide" "icon" in the ".display-mode-date" "css_element"
-
 
174
    And I am on the "Page 1" "page activity editing" page logged in as "teacher1"
-
 
175
    And I expand all fieldsets
-
 
176
    And I press "Add restriction..."
-
 
177
    And I click on "Date" "button" in the "Add restriction..." "dialogue"
-
 
178
    Then the "alt" attribute of ".availability-item .availability-eye img" "css_element" should contain "Hidden entirely"
-
 
179
    And I click on ".availability-item .availability-delete img" "css_element"
-
 
180
    And I should not see "Date" in the "Restrict access" "fieldset"
-
 
181
    And I press "Add restriction..."
-
 
182
    And I click on "Grade" "button" in the "Add restriction..." "dialogue"