moodle/user/tests/behat/addnewuser.feature
Jun Pataleta feb154d8b2 MDL-29320 user: Remove @javascript tag for add new user behat test
* It's not necessary and will improve Behat execution time
2019-04-30 14:54:01 +08:00

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"