Logo: Relish

  1. Sign in

Project: Whitehall

Topics

As an editor
I want to be able to edit the description text of a topic
So that it best represents the policies that it gathers

Background
Given
I am an editor
Scenarios
Adding a new topic
When
I create a new topic "Flying monkeys" with description "Fly my pretties!"
Then
I should see in the admin the "Flying monkeys" topic description is "Fly my pretties!"
When
I create a new topic "Flying monkeys" related to topic "No more beards"
Then
I should see in the admin the "Flying monkeys" topic is related to topic "No more beards"
Editing the description
Given
a topic called "No more beards" with description "No more hairy-faced men"
When
I edit the topic "No more beards" to have description "No more hairy-faced people"
Then
I should see in the admin the "No more beards" topic description is "No more hairy-faced people"
Deleting a topic
Given
a topic called "No more beards" with description "No more hairy-faced men"
Then
I should be able to delete the topic "No more beards"
Ordering policies within a topic
Given
a topic called "Facial Hair" with description "Against All Follicles"
And
a published policy "Outlaw Moustaches" exists in the "Facial Hair" topic
And
a published policy "No more beards" exists in the "Facial Hair" topic
And
a published policy "Free monobrow treatment" exists in the "Facial Hair" topic
When
I set the order of the policies in the "Facial Hair" topic to:
Topic
No more beards
Outlaw Moustaches
Free monobrow treatment
Then
I should see the order of the policies in the "Facial Hair" topic is:
No more beards
Outlaw Moustaches
Free monobrow treatment
Choosing and ordering lead organisations within a topic
Given
a topic called "Facial Hair" with description "Against All Follicles"
And
the topic "Facial Hair" has "Ministry of Grooming" as a lead organisation
And
the topic "Facial Hair" has "Ministry of War" as a lead organisation
And
the topic "Facial Hair" is associated with organisation "Department of Scissors and Wax"
And
the topic "Facial Hair" is associated with organisation "Ministry of Sideburns"
When
I set the order of the lead organisations in the "Facial Hair" topic to:
Organisation
Ministry of Sideburns
Department of Scissors and Wax
Ministry of Grooming
Then
I should see the order of the lead organisations in the "Facial Hair" topic is:
Ministry of Sideburns
Department of Scissors and Wax
Ministry of Grooming
And
I should see the following organisations for the "Facial Hair" topic:
Ministry of War
Viewing the list of topics
Given
the topic "Higher Education" contains some policies
And
the topic "Science and Innovation" contains some policies
When
I visit the list of topics
Then
I should see the topics "Higher Education" and "Science and Innovation"
Visiting a topic page
Given
the topic "Higher Education" contains some policies
And
the topic "Higher Education" is related to the topic "Scientific Research"
When
I visit the "Higher Education" topic
Then
I should see published policies belonging to the "Higher Education" topic
And
I should see a link to the related topic "Scientific Research"
Featuring content on a topic page
Given
the topic "Higher Education" contains some policies
When
I feature one of the policies on the topic
Then
I should see the policy featured on the public topic page
Adding top tasks
Given
a topic called "Housing prices" exists
When
I add some top tasks to the topic "Housing prices" via the admin
Then
the top tasks for the topic "Housing prices" should be visible on the public site

Last published over 4 years ago by David Heath.