mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MDL-41847-35' of git://github.com/sarjona/moodle into M…
…OODLE_35_STABLE
- Loading branch information
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@core @core_user | ||
Feature: Create manually an user. | ||
In order create a user properly | ||
As an admin | ||
I need to be able to add new users and edit their fields. | ||
|
||
@javascript | ||
Scenario: Change default language for a new user | ||
Given I log in as "admin" | ||
When I navigate to "Add a new user" node in "Site administration > Users > Accounts" | ||
Then I should see "Preferred language" | ||
|
||
@javascript | ||
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 "Browse list of users" node in "Site administration > Users > Accounts" | ||
And I follow "Student 1" | ||
And I follow "Edit profile" | ||
Then I should not see "Preferred language" |