Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_user @javascript
2
Feature: The admin can check student permission in moodle system.
3
  In order to check permission of a user in moodle
4
  As an admin user
5
  I can search student and see their permission
6
 
7
  Background:
8
    Given the following "users" exist:
9
      | username | firstname | lastname | email             |
10
      | user1    | User      | 1        | user1@example.com |
11
 
12
  Scenario: The search setting is saved for each user.
13
    Given I log in as "admin"
14
    And I navigate to "Users > Permissions > Check system permissions" in site administration
15
    And I follow "Search options"
16
    And the field "from start" matches value "1"
17
    And I click on "anywhere" "radio"
18
    And I click on "Keep selected users, even if they no longer match the search" "checkbox"
19
    And I click on "If only one user matches the search, select them automatically" "checkbox"
20
    And I reload the page
21
    Then the field "from start" matches value "0"
22
    And the field "anywhere" matches value "1"
23
    And the field "Keep selected users, even if they no longer match the search" matches value "1"
24
    And the field "If only one user matches the search, select them automatically" matches value "1"