[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/auth/manual/tests/behat/ -> auth_manual.feature (source)

   1  @auth @auth_manual
   2  Feature: Test manual authentication works.
   3    In order to check manual authentication
   4    As a teacher
   5    I need to go on login page and enter username and password.
   6  
   7    Background:
   8      Given the following "users" exist:
   9        | username |
  10        | teacher1 |
  11  
  12    @javascript
  13    Scenario: Check login works with javascript.
  14      Given I am on homepage
  15      And I expand navigation bar
  16      And I click on "Log in" "link" in the ".logininfo" "css_element"
  17      When I set the field "Username" to "teacher1"
  18      And I set the field "Password" to "teacher1"
  19      When I press "Log in"
  20      Then I should see "You are logged in as"
  21  
  22    Scenario: Check login works without javascript.
  23      Given I am on homepage
  24      And I click on "Log in" "link" in the ".logininfo" "css_element"
  25      When I set the field "Username" to "teacher1"
  26      And I set the field "Password" to "teacher1"
  27      When I press "Log in"
  28      Then I should see "You are logged in as"


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1