Page Move Basic Function

AboutUs


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

done

  • create PageMoveBasicFunctionTest.php based on PageMoveLinksBlueTest.php PageMoveTest.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


Retrieved from "http://aboutus.com/index.php?title=Page_Move_Basic_Function&oldid=12080892"