FitNesse. SuiteAcceptanceTests. SuiteWikiImportTests.
TestCantImportFromSecureWiki

Can't Import From Secure Wiki


 Included page: CreateSecureWiki
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? value
contents ImporteePage requires authentication true  


.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests