FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteWidgetTests.TestSubList.content.txt Maven / Gradle / Ivy
!3 A sub list
A list created as follows {{{ * Item one
* Item two}}} should be rendered as a list with a sub list.
#
* First create a page with a simple table in it.
#
!note We use backslash is a way to capture the leading space before the *.
!|script|
|start|Page Builder|
|line|\ * Item One|
|line|\ * Item Two|
|page|SubList|
#
* Then request that page
#
!|Response Requester.|
|uri|valid?|contents?|
|SubList|true||
#
* Make sure the html is correct for a simple table.
#
!|Response Examiner.|
|type|pattern|matches?|value|
|contents|Item One|true||
!|Response Examiner.|
|type|number|string?|
|line|1||
|line|2|- Item One
|
|line|3|- Item Two
|
|line|4|
|
|line|5| |
|line|6|
|