summaryrefslogtreecommitdiff
path: root/features/abuse_report.feature
blob: 212972a762a61fabd9c8c8ec1bb4bed853f75bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

  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 see a red "Report abuse" button