2015-08-06 14:57:04 +00:00
|
|
|
Feature: Abuse reports
|
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And user "Mike" exists
|
|
|
|
|
|
|
|
Scenario: Report abuse
|
|
|
|
Given I visit "Mike" user page
|
|
|
|
And I click "Report abuse" button
|
|
|
|
When I fill and submit abuse form
|
|
|
|
Then I should see success message
|
2015-09-28 14:00:53 +00:00
|
|
|
|
|
|
|
Scenario: Report abuse available only once
|
|
|
|
Given I visit "Mike" user page
|
|
|
|
And I click "Report abuse" button
|
|
|
|
When I fill and submit abuse form
|
|
|
|
And I visit "Mike" user page
|
|
|
|
Then I should not see the "Remove abuse" dropdown / button
|