r79510 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79509‎ | r79510 | r79511 >
Date:09:06, 3 January 2011
Author:nadeesha
Status:ok
Tags:
Comment:
Change the xpath of the 'Upgrade complete' text
Modified paths:
  • /trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php
@@ -81,10 +81,14 @@
8282
8383 // 'Upgrade complete.' text display
8484 $this->assertEquals("Upgrade complete.",
85 - $this->getText( LINK_FORM."div[1]/div[2]/p[1]"));
86 - $this->assertEquals("You can now start using your wiki.",
87 - $this->getText( LINK_FORM."div[1]/div[2]/p[2]"));
 85+ $this->getText( "[@id='bodyContent']/div/div[1]/div[4]/form/div[1]/div[2]/p[1]" ));
 86+
 87+ $this->assertEquals("You can now Folder/index.php start using your wiki.",
 88+ $this->getText( "[@id='bodyContent']/div/div[1]/div[4]/form/div[1]/div[2]/p[2]" ));
8889
 90+ $this->assertEquals( "Folder/index.php start using your wiki",
 91+ $this->getText( "link=Folder/index.php start using your wiki" ));
 92+
8993 $this->assertTrue($this->isElementPresent( "submit-regenerate" ));
9094 $this->click( "submit-regenerate" );
9195 $this->waitForPageToLoad( PAGE_LOAD_TIME );

Status & tagging log