Logo: Relish

  1. Sign in

Project: Whitehall

Previewing unpublished editions

Scenarios
Unpublished editions can be previewed
Given
a draft publication "Beard Length Review" exists
And
I am an editor
When
I preview "Beard Length Review"
Then
I should see the summary of the draft publication "Beard Length Review"
Given
I am an editor
When
I draft a new policy "Test policy"
Then
I should see a link to the preview version of the policy "Test policy"
  • @use_real_sso
Unpublished editions are protected from visitors
Given
a draft publication "Beard Length Review" exists
And
I am a visitor
When
I preview "Beard Length Review"
Then
I should get a "404" error

Last published almost 4 years ago by David Heath.