Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)

Import
fitnesse.fixtures

SetUp

Included page: CreateSubPageSymbolicLink (edit)

Create a symbolic link to a sub-page:

First we need to create some pages to play with.
Page creator.
Page name. PageContents. valid?
LinkingPage LINKING PAGE true
LinkingPage.LinkedChild LINKED CHILD true

Now we create a symbolic link named SymLink. This links LinkingPage.LinkedChild as a child of LinkingPage.
Response Requester.
uri status?
LinkingPage?responder=symlink&linkName=SymLink&linkPath=>LinkedChild 303

Creating a symlink will redirect back to the properties page.
Response Examiner.
type pattern matches? contents?
contents Location: /LinkingPage\?properties true

Let's have a look at the properties view.
Response Requester.
uri status?
LinkingPage?properties 200

RESPONSE DATA

Response Examiner.
type wrappedHtml?
contents


The newly created symbolic link will be listed along with a link to the linked page.
Response Examiner.
type pattern matches?
contents SymLink true
contents <a href=".LinkingPage.LinkedChild">>LinkedChild</a> true

Included page: .FitNesse.SuiteAcceptanceTests.TearDown (edit)



tear down