FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestIncludeSubPage [add child]

 Scenario Libraries

This page tests includes of a sub page.


Make sure the !include >MySubPage syntax works.
script
start Page Builder
line this subpage was included 3.14159
page IncludingPage.IncludedPage
script
start Page Builder
line before
line &bang;include >IncludedPage
line after
page IncludingPage
Response Requester.
uri valid? contents?
IncludingPage true  
Response Examiner.
type pattern matches? value
contents this subpage was included 3.14159 true