mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-63528 auth: Behat scenario for "Remember username" display
This commit is contained in:
parent
36d7b587cb
commit
428a47fcbf
1 changed files with 15 additions and 0 deletions
|
@ -39,3 +39,18 @@ Feature: Authentication
|
||||||
Given I log in as "admin"
|
Given I log in as "admin"
|
||||||
When I log out
|
When I log out
|
||||||
Then I should see "You are not logged in" in the "page-footer" "region"
|
Then I should see "You are not logged in" in the "page-footer" "region"
|
||||||
|
|
||||||
|
Scenario Outline: Checking the display of the Remember username checkbox
|
||||||
|
Given I log in as "admin"
|
||||||
|
And I set the following administration settings values:
|
||||||
|
| rememberusername | <settingvalue> |
|
||||||
|
And I log out
|
||||||
|
And I am on homepage
|
||||||
|
When I click on "Log in" "link" in the ".logininfo" "css_element"
|
||||||
|
Then I should <expect> "Remember username"
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
| settingvalue | expect |
|
||||||
|
| 0 | not see |
|
||||||
|
| 1 | see |
|
||||||
|
| 2 | see |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue