FitNesse
.
SuiteAcceptanceTests
.
SuiteWikiPageResponderTests
.
TestSubPageWidgetInAlias
Edit Page:
!2 The Sub Page widget in an alias. Sometimes we want to create an alias to a subpage link as follows: !-[[click here][^SubPage]]-!. |Page creator.| |Page name.|Page contents.|Page attributes.|valid?| |!-SuperPage-!|!-[[tag][^SubPage]]-!||true| |Response Requester.| |uri|valid?|contents?| |!-SuperPage-!|true|| The widget should translate into a ? link of the form: * ''tag<a href="!-SuperPage.SubPage-!?edit">?</a>'' |Response Examiner.| |type |pattern|matches?|value| |contents|tag<a href="!-SuperPage.SubPage-!\?edit">\?</a>|true|| If the sub page is already present, then the widget should translate into a normal link. |Page creator.| |Page name.|Page contents.|Page attributes.|valid?| |!-SuperPage.SubPage-!|nothing||true| |Response Requester.| |uri|valid?|contents?| |!-SuperPage-!|true|| |Response Examiner.| |type |pattern|matches?|value| |contents|<a href="!-SuperPage.SubPage-!">tag</a>|true||
Hints:
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).