Contents

Showing content block updates in history

Background:

  • Given I am an editor
  • And a published publication "Stubble to be Outlawed" exists
  • And the document has been updated by a change to the content block "Some email address"

Scenario: Content block update exists for current edition

  • When I am on the summary page for publication "Stubble to be Outlawed"
  • Then I should see an entry for the content block "Some email address" on the current edition

Scenario: Content block update exists for a previous edition

  • Given some time has passed
  • When I force publish a new edition of the publication "Stubble to be Outlawed"
  • And I am on the summary page for publication "Stubble to be Outlawed"
  • Then I should see an entry for the content block "Some email address" on the previous edition

Source: features/admin-history-content-block-updates.feature at commit 59fc7c54, Whitehall (MIT license).