FitNesse. SuiteAcceptanceTests. SuiteWikiImportTests.
TestCantImportFromSecureWiki [add child]

 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
 Scenario Libraries

Can't Import From Secure Wiki

variable defined: TEST_SYSTEM=slim
 Included page: CreateSecureWiki (edit)
First setup the Authentication module.
Authenticator Setup
username password status?
Aladdin open sesame  

Create a page to be requested.
Page creator.
Page name. page attributes valid?
ImporteePage secure-read=true true
ImporteePage.ChildPage   true

Create an importing page.
Page creator.
Page name. Page contents. valid?
ImportingPage !contents true

This ImportingPage will now import the secure wiki page.
Response Requester.
uri valid?
ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImporteePage true

Since the wiki being imported is secure, the response will promt the user for credentials.
Response Examiner
type pattern matches? wrapped html?
contents ImporteePage requires authentication true