Difference between revisions of "Basic Functions of a Wiki"
| Line 14: | Line 14: | ||
** the page shows both the contents of the page in html AND the textarea we're editing | ** the page shows both the contents of the page in html AND the textarea we're editing | ||
==Next Actions== | ==Next Actions== | ||
| + | * editLinkWholePage() needs to verify typing in the textarea | ||
| + | * editLinkSection() needs to be written | ||
==Done== | ==Done== | ||
*created files basic_wiki_functions_acceptance_test.sh & BasicWikiFunctionsTest.php | *created files basic_wiki_functions_acceptance_test.sh & BasicWikiFunctionsTest.php | ||
| − | + | *testEditLinkWholePageIP() & testEditLinkWholePageLogin() both call editLinkWholePage() which does the actual work - the only difference is the login one logs in | |
| + | *testEditLinkSectionIP() & testEditLinkSectionLogin() both call editLinkSection() - same as above | ||
[[Category:Acceptance Tests]] | [[Category:Acceptance Tests]] | ||
Revision as of 16:11, 7 March 2007
each test independent of the others? can we test preview or save if edit isn't working?
- edit
- logged in & not logged in, click the "edit" link at the top & "type" the "action=edit" url & click section edit & type section edit url
- verify the textarea exists
- verify the textarea contents are correct
- verify that typing works
- logged in & not logged in, click the "edit" link at the top & "type" the "action=edit" url & click section edit & type section edit url
- save
- in edit mode, click the "Save page" button
- verify that the page saves
- we're now NOT in edit mode
- the contents of the page are what we expect
- preview
- in edit mode, click the "Show preview" button
- the page shows both the contents of the page in html AND the textarea we're editing
Next Actions
- editLinkWholePage() needs to verify typing in the textarea
- editLinkSection() needs to be written
Done
- created files basic_wiki_functions_acceptance_test.sh & BasicWikiFunctionsTest.php
- testEditLinkWholePageIP() & testEditLinkWholePageLogin() both call editLinkWholePage() which does the actual work - the only difference is the login one logs in
- testEditLinkSectionIP() & testEditLinkSectionLogin() both call editLinkSection() - same as above
