Contents

Consultations

Scenario: Creating a new draft consultation

  • Given I am a writer
  • When I draft a new "English" language consultation "Beard Length Review"
  • Then I should see the consultation "Beard Length Review" in the list of draft documents

Scenario: Submitting a draft consultation to a second pair of eyes

  • Given I am a writer
  • And a draft consultation "Beard Length Review" exists
  • When I submit the consultation "Beard Length Review"
  • Then I should see the consultation "Beard Length Review" in the list of submitted documents

Scenario: Publishing a submitted consultation

  • Given I am an editor
  • And a submitted consultation "Beard Length Review" exists
  • When I check "Beard Length Review" adheres to the consultation principles
  • And I publish the consultation "Beard Length Review"
  • Then I should see the consultation "Beard Length Review" in the list of published documents

Scenario: Adding an outcome to a closed consultation

@disable-sidekiq-test-mode

  • Given I am an editor
  • And a closed consultation exists
  • When I add an outcome to the consultation
  • And I save and publish the amended consultation
  • Then I can see that the consultation has been published

Scenario: Adding public feedback to a closed consultation

@disable-sidekiq-test-mode

  • Given I am an editor
  • And a closed consultation exists
  • When I add public feedback to the consultation
  • And I save and publish the amended consultation
  • Then I can see that the consultation has been published

Scenario: Associating an offsite consultation with topical events

  • Given I am an editor
  • And a draft consultation "Beard Length Review" exists
  • When I am on the edit page for consultation "Beard Length Review"
  • And I mark the consultation as offsite
  • Then the consultation can be associated with topical events

Scenario: Creating a new draft consultation in another language

  • Given I am a writer
  • When I draft a new "Cymraeg" language consultation "Beard Length Review"
  • Then I can see the primary locale for consultation "Beard Length Review" is "cy"

Scenario: Adding and reordering a responses attachments

  • Given I am an writer
  • And a closed consultation exists
  • When I add an outcome to the consultation
  • And I upload an html attachment with the title "Beard Length Graphs 2012" and the body "Example **Govspeak body**"
  • Then the consultation response should have 2 attachments
  • When I set the order of the responses attachments to:
    titleorder
    Beard Length Graphs 20120
    Outcome attachment title1
  • Then the responses attachments should be in the following order:
    title
    Beard Length Graphs 2012
    Outcome attachment title

Source: features/consultations.feature at commit 59fc7c54, Whitehall (MIT license).