Difference between revisions of "Page Move Basic Function"
m (→task) |
(Adding Category:DevelopmentTeam, Category:Testing, and bread crumbs etc) |
||
|
(2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | <noinclude><big>[[AboutUs]] < [[DevelopmentTeam]] < [[Testing]] < [[:Category:AboutUs:Acceptance Tests|Acceptance Tests]] < [[Page Move Basic Function]]</big></noinclude> | ||
| + | __NOTOC__ | ||
| + | |||
when you move a page, it creates the redirect on the first page and has the history from the old page - as an acceptance test, setup creates a test page, test edits that page, moves that page, goes to the original pagename (with noredirect), find the pagetext, asserts that it's the correct redirect, goes to the destination page, asserts that the history includes the page creation, the test edit and the pagemove. This one is more involved: (the setup here overlaps with above, so makes this easier than would be otherwise) | when you move a page, it creates the redirect on the first page and has the history from the old page - as an acceptance test, setup creates a test page, test edits that page, moves that page, goes to the original pagename (with noredirect), find the pagetext, asserts that it's the correct redirect, goes to the destination page, asserts that the history includes the page creation, the test edit and the pagemove. This one is more involved: (the setup here overlaps with above, so makes this easier than would be otherwise) | ||
| Line 18: | Line 21: | ||
* verify with radio buttons that there's more than one for the destination and only one for the source | * verify with radio buttons that there's more than one for the destination and only one for the source | ||
| + | |||
| + | [[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
when you move a page, it creates the redirect on the first page and has the history from the old page - as an acceptance test, setup creates a test page, test edits that page, moves that page, goes to the original pagename (with noredirect), find the pagetext, asserts that it's the correct redirect, goes to the destination page, asserts that the history includes the page creation, the test edit and the pagemove. This one is more involved: (the setup here overlaps with above, so makes this easier than would be otherwise)
next actions
- figure out opening up each page in history to verify contents
notes
- combined this test with Page Move Source and Destination Links are Blue so can share setup, and get 4 test cases for free
done
- create
PageMoveBasicFunctionTest.php based on PageMoveLinksBlueTest.phpPageMoveTest.php (everything in this one now) - setup of logging in, creating test page and doing the page move are same as Page Move Source and Destination Links are Blue so don't need to create again
- added an additional test edit (not just page creation, but a 2nd edit)
- navigation back to source page works
- verify that it is a redirect
- verify that the redirect link is the correct one (to destinationPage)
- open the destinationPage history
- verify history using edit summaries for both source and destination
- verify with radio buttons that there's more than one for the destination and only one for the source
