HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/dda.sumar.com.py/auth/manual/tests/behat/auth_manual.feature
@auth @auth_manual
Feature: Test manual authentication works.
  In order to check manual authentication
  As a teacher
  I need to go on login page and enter username and password.

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

  @javascript
  Scenario: Check login works with javascript.
    Given I am on homepage
    And I expand navigation bar
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    When I set the field "Username" to "teacher1"
    And I set the field "Password" to "teacher1"
    When I press "Log in"
    Then I should see "You are logged in as"

  Scenario: Check login works without javascript.
    Given I am on homepage
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    When I set the field "Username" to "teacher1"
    And I set the field "Password" to "teacher1"
    When I press "Log in"
    Then I should see "You are logged in as"