Index: trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php |
— | — | @@ -81,10 +81,14 @@ |
82 | 82 | |
83 | 83 | // 'Upgrade complete.' text display |
84 | 84 | $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]" )); |
88 | 89 | |
| 90 | + $this->assertEquals( "Folder/index.php start using your wiki", |
| 91 | + $this->getText( "link=Folder/index.php start using your wiki" )); |
| 92 | + |
89 | 93 | $this->assertTrue($this->isElementPresent( "submit-regenerate" )); |
90 | 94 | $this->click( "submit-regenerate" ); |
91 | 95 | $this->waitForPageToLoad( PAGE_LOAD_TIME ); |