FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestIncludeCollapsed [add child]

 Scenario Libraries

You can set an included page to be collapsed when the page is rendered.

To do this, add the option "-c":

!include -c SomePage

See TestInclude for more info on included pages.


script
start Page Builder
line included
page IncludedPage
script
start Page Builder
line before
line &bang;include -c IncludedPage
line after
page IncludingPage
Response Requester.
uri valid? contents?
IncludingPage true  
Response Examiner.
type pattern matches?
contents included true
contents class="hidden" true
contents collapsableClosed.gif true