forked from alphagov/whitehall
/
viewing-countries.feature
32 lines (27 loc) · 1.65 KB
/
viewing-countries.feature
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
28
29
30
31
32
Feature: Viewing countries
Scenario: View list of all countries
Given a country "British Antarctic Territory" exists
And a country "Papua New Guinea" exists
When I view the list of countries
Then I should see the country "British Antarctic Territory"
And I should see the country "Papua New Guinea"
Scenario: View news articles relating to a country
Given a country "British Antarctic Territory" exists
And a published news article "Larsen ice sheet disintegrates" exists relating to the country "British Antarctic Territory"
When I view the country "British Antarctic Territory"
Then I should see the news article "Larsen ice sheet disintegrates"
Scenario: View policies relating to a country
Given a country "British Antarctic Territory" exists
And a published policy "Icebergs of the World, Unite!" exists relating to the country "British Antarctic Territory"
When I view the country "British Antarctic Territory"
Then I should see the policy "Icebergs of the World, Unite!"
Scenario: The publication is about a country
Given a country "British Antarctic Territory" exists
And a published publication "Penguins have rights too" exists that is about "British Antarctic Territory"
When I view the country "British Antarctic Territory"
Then I should see the publication "Penguins have rights too"
Scenario: View priorities for a country
Given a country "British Antarctic Territory" exists
And a published international priority "Oil field exploitation" exists relating to the country "British Antarctic Territory"
When I view the country "British Antarctic Territory"
Then I should see the international priority "Oil field exploitation"