FitNesse. SuiteAcceptanceTests. SuiteWikiImportTests.
TestImportFromSecureWikiWithCredentials [add child]

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

Import From Secure Wiki With Credentials

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. Credentials for accessing the remote wiki are included in the request.
Response Requester.
uri valid?
ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImporteePage&remoteUsername=Aladdin&remotePassword=open+sesame true

The import should succeed just like normal.
Response Examiner
type pattern matches? wrapped html?
contents 1 page was imported true