This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1278 from ec-europa/ISAICP-4615
Isaicp 4615: query to align in the implementation monitoring of Tallinn Collection
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
tests/features/communities/tallinn/initiative_page.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@api @tallinn | ||
Feature: Display of reports for the Tallinn initiative. | ||
In order to consult the Tallinn reports | ||
As a privileged user | ||
I need to be able to see the reports I have access to. | ||
|
||
Scenario: Only the report entries are shown in the "Tallinn initiative" page. | ||
Given users: | ||
| Username | | ||
| Jayda Ingham | | ||
And the following collection user memberships: | ||
| collection | user | roles | | ||
| Tallinn Ministerial Declaration | Jayda Ingham | facilitator | | ||
Given news content: | ||
| title | collection | state | | ||
| Results are out | Tallinn Ministerial Declaration | validated | | ||
And document content: | ||
| title | collection | state | | ||
| Ministerial Declaration on eGovernment | Tallinn Ministerial Declaration | validated | | ||
And tallinn_report content: | ||
| title | author | collection | | ||
| Italy report | Jayda Ingham | Tallinn Ministerial Declaration | | ||
|
||
# All content except reports should be shown in the collection overview. | ||
Given I am logged in as "Jayda Ingham" | ||
When I go to the "Tallinn Ministerial Declaration" collection | ||
Then I should see the "Results are out" tile | ||
And I should see the "Ministerial Declaration on eGovernment" tile | ||
|
||
# Only report content should be shown in the initiative page. | ||
When I click "Tallinn initiative" in the "Left sidebar" region | ||
Then I should see the "Italy report" tile | ||
But I should not see the "Results are out" tile | ||
And I should not see the "Ministerial Declaration on eGovernment" tile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters