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

Import
fitnesse.fixtures

SetUp

After a Symbolic Link is created, it is possible to view it as a normal page as well as it's children.

Included page: CreateRelativeSymbolicLink (edit)

Creating a symbolic link is done in the properties view of the page that will contain the link. There is a form where a user supplies a name for the link and a path for the linked page. When submitted the URL has the following form:

http://host/PathToPage?responder=symlink&linkName=&linkPath=

First we need to create some pages to play with.
Page creator.
Page name. valid?
LinkingPage true
LinkedPage true

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


Now add a child on the linked page.
Page creator.
Page name. valid?
LinkedPage.ChildPage true

Let's load and view the symbolic link page.
Response Requester.
uri status?
LinkingPage.SymLink 200
Response Examiner.
type pattern matches?
contents <title>LinkingPage.SymLink</title> true

Now let's load and view the child page beneath the symbolic link page.
Response Requester.
uri status?
LinkingPage.SymLink.ChildPage 200
Response Examiner.
type pattern matches?
contents <title>LinkingPage.SymLink.ChildPage</title> true

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



tear down