FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestCollapsableSections [add child]

 Scenario Libraries

Test Collapsable sections

When a section of wiki test is surrounded by:

The number of stars is optional; at least one is required at the start and end.
The formal format for using this widget involved multiple lines and looks like so:
TOP
!*** section title
content
more content
****************!
BOTTOM


and will be rendered as:
TOP
 section title
content
more content
BOTTOM


TOP
!**> section title
content
more content
****************!
BOTTOM


and will be rendered as:
TOP
 section title
BOTTOM


TOP
!**< section title
content
more content
****************!
BOTTOM


and will be rendered as:
TOP
BOTTOM

 Scenarios

script
given a page with a collapsible section containing line one
line two
it should have line one
line two
within a collapsable div
 
given a page with a collapsed section containing line one
line two
it should have line one
line two
within a hidden div
 
given a page with an invisible section containing line one
line two
the content line one
line two
should be in a div of class invisible