FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestSubList [add child]

 Scenario Libraries

A sub list

A list created as follows
 * Item one
* Item two
should be rendered as a list with a sub list.
We use backslash is a way to capture the leading space before the *.
start Page Builder
line \ * Item One
line \ * Item Two
page SubList
Response Requester.
uri valid? contents?
SubList true  
Response Examiner.
type pattern matches? value
contents <li>Item One</li> true  

Response Examiner.
type number string?
line 1 <ul>
line 2 <li>Item One</li>
line 3 <ul>
line 4 <li>Item Two</li>
line 5 </ul>
line 6 </ul>