FitNesse
.
SuiteAcceptanceTests
.
SuiteEditResponderTests
.
TestEditExistingPage
Edit Page:
!2 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. ---- !|script| |given page|SomePage|with content|some content| |the edit response should contain|SomePage| |and should match|<textarea.*>some content</textarea>| |and should match|<form.*>| |and should match|action="SomePage"| |and should match|<input.*>| |and should match|type="submit"| |and should match|value="Save"|
Hints:
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).