Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/behat/features/profile.feature

24 lines
795 B

Feature: Profile page
A student should update his profile information.
Background:
Given I am a student
Scenario: Change user first name with Andrew then restore to Andrea
Given I am on "/account/home"
And I press "Edit profile"
And I wait for the page to be loaded
And I fill in the following:
| profile_firstname | Andrew |
| profile_lastname | Doe |
And I press "update_profile"
And I wait for the page to be loaded
Then I should see "Andrew Doe"
And I press "Edit profile"
And I wait for the page to be loaded
And I fill in the following:
| profile_firstname | Andrea |
| profile_lastname | Costea |
And I press "update_profile"
And wait for the page to be loaded
Then I should see "Andrea Costea"