FitNesse. SuiteAcceptanceTests. SuiteWikiPageResponderTests.
TestHeaderThree [add child]

 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp (edit)

Test the !3 header widget

If !3 is at the beginning of a line, then the rest of the line will be formatted as Header three.


First create a page with header three text on it.

Page creator.
Page name. Page contents. Page attributes. valid?
HeaderThreeTextPage !3 Header three   true

Then request that page

Response Requester.
uri valid?
HeaderThreeTextPage true

Examine the page to be sure it has the Header three text

Response Examiner.
type pattern matches? value
contents <h3>Header three</h3> true