on-demand release 4.0dev+
[moodle.git] / user / tests / behat / addnewuser.feature
CommitLineData
b6e594b1 1@core @core_user
feb154d8 2Feature: Manually create a user
b6e594b1
SA
3 In order create a user properly
4 As an admin
5 I need to be able to add new users and edit their fields.
6
b6e594b1
SA
7 Scenario: Change default language for a new user
8 Given I log in as "admin"
02fda279 9 When I navigate to "Users > Accounts > Add a new user" in site administration
b6e594b1
SA
10 Then I should see "Preferred language"
11
b6e594b1
SA
12 Scenario: Language not displayed when editing an existing user
13 Given the following "users" exist:
14 | username | firstname | lastname | email |
15 | student1 | Student | 1 | student1@example.com |
16 When I log in as "admin"
02fda279 17 And I navigate to "Users > Accounts > Browse list of users" in site administration
b6e594b1
SA
18 And I follow "Student 1"
19 And I follow "Edit profile"
20 Then I should not see "Preferred language"