FitNesse. SuiteAcceptanceTests. SuiteEditResponderTests.
TestEditExistingPage
 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp

Test editing an existent page.

The form should have a normal header, an edit area filled with the current contents of the page, and a save button.


Page creator.
Page name. Page contents. Page attributes. valid?
SomePage some content   true
Response Requester.
uri valid?
SomePage?edit true
Response Examiner
type pattern matches? value
contents SomePage true  
Response Examiner
type pattern matches?
contents <textarea.*>some content</textarea> true
contents <form true
contents action="SomePage" true
contents <input true
contents type="submit" true
contents value="Save" true


.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests