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
764 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"
Then I should see "Profile"
Then I follow "Edit profile"
Then I fill in the following:
| profile_firstname | Andrew |
And wait for the page to be loaded
And I press "update_profile"
And wait for the page to be loaded
Then I should see "Updated"
And I should see "Andrew"
Then I follow "Edit profile"
Then I fill in the following:
| profile_firstname | Andrea |
And I press "update_profile"
And wait for the page to be loaded
Then I should see "Updated"
And I should see "Andrea"