user_mention.feature
1007 Bytes
Feature: user mention
As a user
I want to mention my friends and community members
So that they get notified about what I wrote
Background:
Given the following users
| login |
| fulano |
| ciclano |
| deltrano |
And "ciclano" is friend of "fulano"
And the following communities
| identifier | name | owner |
| test-community | test community | fulano |
And "deltrano" is a member of "test community"
And the following articles
| owner | name |
| fulano | fulano article |
| test-community | comunity article |
And I am logged in as "fulano"
@selenium
Scenario: mention a friend
Given I am on /fulano/fulano-article
And I follow "Post a comment"
And I fill in "Title" with "Hey ho, let's go!"
And I type in "@cic" into autocomplete list "#comment_body" and I choose "ciclano"
When I press "Post comment"
Then I should see "Hey ho, let"