From 5f95a5e070c76c582a2b394377b0f350f4b1cff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Mon, 28 Sep 2015 16:00:53 +0200 Subject: Disable the "Report abuse" button if a user has already been reported --- features/abuse_report.feature | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'features/abuse_report.feature') diff --git a/features/abuse_report.feature b/features/abuse_report.feature index 3e1cb455b77..fc80f0aa399 100644 --- a/features/abuse_report.feature +++ b/features/abuse_report.feature @@ -8,3 +8,10 @@ Feature: Abuse reports 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 -- cgit v1.2.3