diff options
author | Rémy Coutable <remy@rymai.me> | 2015-09-28 16:00:53 +0200 |
---|---|---|
committer | rymai <remy@rymai.me> | 2015-09-29 21:11:51 +0200 |
commit | 5f95a5e070c76c582a2b394377b0f350f4b1cff9 (patch) | |
tree | 94ae75916155f0337b8981cab1d04e563c8e24af /features/abuse_report.feature | |
parent | 10c036fcf59297663fd1121f7b48d1a289a2e312 (diff) | |
download | gitlab-ce-5f95a5e070c76c582a2b394377b0f350f4b1cff9.tar.gz |
Disable the "Report abuse" button if a user has already been reported
Diffstat (limited to 'features/abuse_report.feature')
-rw-r--r-- | features/abuse_report.feature | 7 |
1 files changed, 7 insertions, 0 deletions
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 |