Logo: Relish

  1. Sign in

Project: Whitehall

Managing supporting pages for policies

As an editor
I want to be able to create supporting pages and associate them with policies
In order to provide more detailed information about the policy

Background
Given
I am an editor
Scenarios
Adding a supporting page to a published policy
Given
a published policy "Outlaw Moustaches" exists
When
I add a supporting page "Handlebar Waxing" to the "Outlaw Moustaches" policy
And
I force publish the supporting page "Handlebar Waxing"
Then
I should see on the published policy page that "Outlaw Moustaches" has supporting page "Handlebar Waxing"
And
I should see in the admin list of published documents that "Outlaw Moustaches" has supporting page "Handlebar Waxing"
Adding a supporting page to a draft policy
Given
a draft policy "Outlaw Moustaches" exists
When
I add a supporting page "Handlebar Waxing" to the "Outlaw Moustaches" policy
And
I force publish the supporting page "Handlebar Waxing"
Then
I should see on the preview policy page that "Outlaw Moustaches" has supporting page "Handlebar Waxing"
And
I should see in the admin list of draft documents that "Outlaw Moustaches" has supporting page "Handlebar Waxing"

Last published almost 4 years ago by David Heath.