Logo: Relish

  1. Sign in

Project: Whitehall

Viewing all people page

As a citizen
I want to be able to view a page listing all ministers & senior officials on Inside Government
So that I can find a specific person

Background
Given
I am an admin
Scenarios
Viewing all people
Given
"Johnny Macaroon" is the "Minister of Crazy" for the "Department of Woah"
And
"Fred Bloggs" is the "Minister of Sane" for the "Department of Foo"
When
I visit the people page
Then
I should see that "Johnny Macaroon" is listed under "m"
And
I should see that "Fred Bloggs" is listed under "b"
Viewing the person page for a minister
Given
"Benjamin Disraeli" is a minister with a history
When
I visit the person page for "Benjamin Disraeli"
Then
I should see information about the person "Benjamin Disraeli"
Announcements by that person over their career are shown
Given
I am an editor
And
"Don Deputy" is the "Deputy Prime Minister" for the "Cabinet Office"
And
"Harriet Home" is the "Home Secretary" for the "Cabinet Office"
And
a published news article "News from Harriet, Home Sec" associated with "Harriet Home"
And
there is a reshuffle and "Harriet Home" is now "Deputy Prime Minister"
And
a published news article "News from Harriet, Deputy PM" associated with "Harriet Home"
When
I visit the person page for "Harriet Home"
Then
I should see both the news articles for Harriet Home
Viewing the person page for a worldwide person
Given
the worldwide organisation "British Embassy, Drexciya" exists
And
a person called "Gerald Stinson" is assigned as its ambassador "Ambassador to Drexciya"
Then
I should see the worldwide organisation listed on his public page
Adding a person
When
I add a new person called "Dave Cameroon"
Then
I should be able to see "Dave Cameroon" in the list of people
Editing a person
Given
a person called "Dave Camerine"
When
I update the person called "Dave Camerine" to have the name "Nick Clogg"
Then
I should be able to see "Nick Clogg" in the list of people
Removing a person
Given
a person called "Liam Fixx"
When
I remove the person "Liam Fixx"
Then
I should not be able to see "Liam Fixx" in the list of people
Adding a new translation
Given
a person called "Amanda Appleford" exists with the biography "She was born. She lived. She died."
When
I add a new "Français" translation to the person "Amanda Appleford" with:
biography Elle est née. Elle a vécu. Elle est morte.
Then
when viewing the person "Amanda Appleford" with the locale "Français" I should see:
biography Elle est née. Elle a vécu. Elle est morte.
Editing an existing translation
Given
a person called "Amanda Appleford" exists with a translation for the locale "Français"
When
I edit the "Français" translation for the person called "Amanda Appleford" setting:
biography Elle est née. Elle a vécu. Elle est morte.
Then
when viewing the person "Amanda Appleford" with the locale "Français" I should see:
biography Elle est née. Elle a vécu. Elle est morte.
Images are virus-checked before publication
When
I add a new person called "Dave Cameroon"
Then
the image will be quarantined for virus checking
When
the image has been virus-checked
Then
the virus checked image will be available for viewing

Last published almost 4 years ago by David Heath.