forked from ec-europa/joinup-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreport.feature
More file actions
27 lines (25 loc) · 1.25 KB
/
report.feature
File metadata and controls
27 lines (25 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@api
Feature: Report inappropriate content
In order to outsource the discovery of inappropriate content on the site
As a moderator
I want to provide a "Report" button on community content
Scenario Outline: Report inappropriate community content
Given collection:
| title | Deployment tools |
| state | validated |
And "<type>" content:
| title | body | collection | state |
| <title> | <body> | Deployment tools | validated |
Given I am not logged in
When I go to the content page of the type "<type>" with the title "<title>"
And I click "Report"
Then I should see the heading "Contact"
And the "Category" field should contain "report"
And the "Page URL" field should contain the link to the "<title>" page
Examples:
| type | title | body |
| discussion | Git is not a deployment tool | Use tarballs to deploy. |
| custom_page | The best tools | Current best-in-class. |
| news | Now deploying to containers | Long awaited feature. |
| document | Deployment strategies | Deploy faster. |
| event | GovDeploy Bootcamp 2017 | Submit your session. |