Difference between revisions of "Basic Functions of a Wiki"
(→Done) |
(Adding Category:DevelopmentTeam, Category:Testing, and bread crumbs etc) |
||
|
(5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | <noinclude><big>[[AboutUs]] < [[DevelopmentTeam]] < [[Testing]] < [[:Category:AboutUs:Acceptance Tests|Acceptance Tests]] < [[Basic Functions of a Wiki]]</big></noinclude> | ||
| + | __NOTOC__ | ||
| + | |||
{{TOCright}} | {{TOCright}} | ||
each test independent of the others? can we test preview or save if edit isn't working? | each test independent of the others? can we test preview or save if edit isn't working? | ||
| Line 16: | Line 19: | ||
==Next Actions== | ==Next Actions== | ||
| − | * for "save" just | + | * for "save", look at differences between editing whole page and editing just a section - the section edit tests are currently failing |
| − | |||
==Done== | ==Done== | ||
| Line 24: | Line 26: | ||
* testEditLinkSectionIP() & testEditLinkSectionLogin() both call editLinkSection() - same as above | * testEditLinkSectionIP() & testEditLinkSectionLogin() both call editLinkSection() - same as above | ||
* 4 tests in each of two categories, logged in & IP; calling 4 functions in two categories, whole page or section; calling 2 functions in two categories, edit link or type edit URL; | * 4 tests in each of two categories, logged in & IP; calling 4 functions in two categories, whole page or section; calling 2 functions in two categories, edit link or type edit URL; | ||
| + | * save works - not quite done yet | ||
| + | * "preview" done | ||
| + | [[Category:AboutUs:Acceptance Tests]] | ||
[[Category:Acceptance Tests]] | [[Category:Acceptance Tests]] | ||
| + | [[Category:DevelopmentTeam]] | ||
| + | [[Category:Testing]] | ||
| + | [[Category:AboutUs]] | ||
Latest revision as of 03:34, 30 October 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
- for "save", look at differences between editing whole page and editing just a section - the section edit tests are currently failing
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
- 4 tests in each of two categories, logged in & IP; calling 4 functions in two categories, whole page or section; calling 2 functions in two categories, edit link or type edit URL;
- save works - not quite done yet
- "preview" done
