summaryrefslogtreecommitdiff
path: root/features/abuse_report.feature
blob: fc80f0aa3991794f4adadc1adbf0d0f5ed9a0dba (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 not see the "Remove abuse" dropdown / button