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/socialWall.feature

39 lines
1.4 KiB

Feature: Social Wall
A user should be able to send message on the social wall and the message
should be on its friend wall.
Background: Given I am a platform administrator
And I have a friend named "fbaggins" with id "11"
Scenario: Send a new post
Given I am a platform administrator
And I am on "main/social/home.php"
Then I should see "Social wall"
When I fill in the following:
| social_wall_new_msg_main | Behat test social wall post content |
And I press "Post"
And wait for the page to be loaded
Then I should see "Message Sent"
And I should see "Behat test social wall post content"
Scenario: View friend's post on my wall
Given I am a platform administrator
And I have a friend named "fbaggins" with id "11"
When I am logged as "fbaggins"
And I am on "main/social/home.php"
Then I should see "Behat test social wall post content"
Scenario: Comment friend's post on my wall
Given I am a platform administrator
And I have a friend named "fbaggins" with id "11"
When I am logged as "fbaggins"
And I am on "main/social/home.php"
Then I should see "Behat test social wall post content"
When I fill in the following:
| comment | Behat test comment on social wall post |
And I press "Post"
And wait for the page to be loaded
Then I should see "Behat test comment on social wall post depuis moins
d'une minute"