Page Move Source and Destination Links are Blue

AboutUs


when you move a page, destination is showing as a redlink - this will be an acceptance test with the assertion that after a pagemove, the destination link is blue - might as well assert that the source link is also blue - not a lot of uncertainty here - will have to figure out how to do setup (make a test page?), then click on the "move" link, then find the source and destination links, and assert their color as blue, fail if red, tear down deletes the test page or should we keep these around for some reason? expanded this from one test-case to four

script

  • page_move_blue_acceptance_test.sh

next actions

done

  • create PageMoveLinksBlueTest.php
  • this->type() works to put in username and password at /index.php?title=Special:Userlogin
  • this->click() works to submit the login information
  • script creates unique test page: /User:TedErnst/test{$variable} using the date function
  • move link is clicked (actually move special page accessed directly)
  • new title and reason are entered and submit button clicked so page is moved
  • for source and destination, now assert that the link is there
  • for source and destination, now assert that the class='new' is NOT there, therefore blue
  • delete both test pages
  • log out

verify

  • domain capitalization
  • domain other
  • non-domain capitalization
  • non-domain other


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