
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.TestIncludeCollapsed.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
!3 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.
----
#
* First create a page to be included.
#
|script|
|start|Page Builder|
|line|included|
|page|!-IncludedPage-!|
#
* Next create a page to do the including.
#
|script|
|start|Page Builder|
|line|before|
|line|!-&bang;include -c IncludedPage-! |
|line|after|
|page|!-IncludingPage-!|
#
* Then request the including page.
#
|Response Requester.|
|uri|valid?|contents?|
|!-IncludingPage-!|true||
#
* Now make sure the page was included and that the correct style and image are used.
#
|Response Examiner.|
|type|pattern|matches?|
|contents|included|true|
|contents|class="collapsible closed"|true|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy