Contents

Checking a document for broken links

Documents can be checked for the presence of broken links.

Scenario: checking a draft document for broken links

@javascript

  • Given I am a writer
  • And a draft document with broken links exists
  • When I check the document for broken links
  • Then I should see a list of the broken links

Scenario: correcting broken links on a document

@javascript

  • Given I am a writer
  • And a draft document with broken links exists
  • When I check the document for broken links
  • Then I should see a list of the broken links
  • When I correct the broken links
  • Then I should see that the document has no broken links

Source: features/admin-broken-link-reporting.feature at commit 59fc7c54, Whitehall (MIT license).