FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestExistingWikiWordLink [add child]

 Scenario Libraries

Test that existing WikiPageReference tokens are converted to links.



Test simple relative WikiPageReference.

Page creator.
Page name. Page contents. valid?
SomePage some page true
RelativeReferencePage SomePage true
Response Requester.
uri valid?
RelativeReferencePage true
Response Examiner.
type pattern matches? value
contents <a href="SomePage">SomePage</a> true  


Test simple global .FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.WikiWord

Page creator.
Page name. Page contents. valid?
GlobalReferencePage .SomePage true
Response Requester.
uri valid?
GlobalReferencePage true
Response Examiner.
type pattern matches? value
contents <a href="SomePage">.SomePage</a> true  


Test relative WikiPagePath

Page creator.
Page name. Page contents. valid?
SomePage.SubPage sub page true
SomePage.RelativeReference SubPage true
Response Requester.
uri valid?
SomePage.RelativeReference true
Response Examiner.
type pattern matches? value
contents <a href="SomePage.SubPage">SubPage</a> true  


Test global WikiPagePath

Page creator.
Page name. Page contents. valid?
SomePage.GlobalReference .SomePage.SubPage true
Response Requester.
uri valid?
SomePage.GlobalReference true
Response Examiner.
type pattern matches? value
contents <a href="SomePage.SubPage">.SomePage.SubPage</a> true