403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/tuprblearn/user/tests/behat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/tuprblearn/user/tests/behat/input-purpose.feature
@core @core_user
Feature: The purpose of each input field collecting information about the user can be determined

  Background:
    Given the following "users" exist:
      | username | firstname          | lastname | email                           |
      | unicorn  | unicorn | 1        | [email protected] |
    And the following "courses" exist:
      | fullname | shortname | category | groupmode |
      | Course 1 | C1        | 0        | 1         |
    And the following "course enrolments" exist:
      | user                | course | role    |
      | unicorn             | C1     | student |

  @javascript
  Scenario: Fields for other users are not auto filled
    When I log in as "admin"
    And I navigate to "Users > Accounts > Browse list of users" in site administration
    And I click on ".icon[title=Edit]" "css_element" in the "[email protected]" "table_row"
    And I expand all fieldsets
    Then the field "Username" should not have purpose "username"
    And the field "First name" should not have purpose "given-name"
    And the field "Surname" should not have purpose "family-name"
    And the field "Email" should not have purpose "email"
    And the field "Select a country" should not have purpose "country"
    And I press "Cancel"
    And I follow "Preferred language"
    And the field "Preferred language" should not have purpose "language"

  @javascript
  Scenario: My own user fields are auto filled
    When I log in as "unicorn"
    And I follow "Profile" in the user menu
    And I click on "Edit profile" "link" in the "region-main" "region"
    And I expand all fieldsets
    Then the field "First name" should have purpose "given-name"
    And the field "Surname" should have purpose "family-name"
    And the field "Email" should have purpose "email"
    And the field "Select a country" should have purpose "country"
    And I press "Cancel"
    And I follow "Preferences" in the user menu
    And I follow "Preferred language"
    And the field "Preferred language" should have purpose "language"

Youez - 2016 - github.com/yon3zu
LinuXploit