mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
feb154d8b2
* It's not necessary and will improve Behat execution time
21 lines
827 B
Gherkin
21 lines
827 B
Gherkin
@core @core_user
|
|
Feature: Manually create a user
|
|
In order create a user properly
|
|
As an admin
|
|
I need to be able to add new users and edit their fields.
|
|
|
|
Scenario: Change default language for a new user
|
|
Given I log in as "admin"
|
|
When I navigate to "Users > Accounts > Add a new user" in site administration
|
|
Then I should see "Preferred language"
|
|
|
|
Scenario: Language not displayed when editing an existing user
|
|
Given the following "users" exist:
|
|
| username | firstname | lastname | email |
|
|
| student1 | Student | 1 | student1@example.com |
|
|
When I log in as "admin"
|
|
And I navigate to "Users > Accounts > Browse list of users" in site administration
|
|
And I follow "Student 1"
|
|
And I follow "Edit profile"
|
|
Then I should not see "Preferred language"
|