r88072 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88071‎ | r88072 | r88073 >
Date:13:14, 14 May 2011
Author:mglaser
Status:deferred
Tags:
Comment:
Adjusted selenium test to gallery output (li instead of div)
Modified paths:
  • /trunk/extensions/PagedTiffHandler/selenium/PagedTiffHandlerTestCases.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PagedTiffHandler/selenium/PagedTiffHandlerTestCases.php
@@ -174,7 +174,7 @@
175175
176176 // Ergebnis chekcen
177177 $source = $this->getAttribute(
178 - "//div[@class='gallerybox']//a[@class='image']//img@src" );
 178+ "//li[@class='gallerybox']//a[@class='image']//img@src" );
179179 $correct = strstr( $source, "-page1-" );
180180 $this->assertEquals( $correct, true );
181181 }
@@ -193,7 +193,7 @@
194194 //$source = $this->getAttribute(
195195 //"//div[@class='gallerybox']//a[@title='Multipage.tiff']//img@src" );
196196 $source = $this->getAttribute(
197 - "//div[@class='gallerybox']//a[@class='image']//img@src" );
 197+ "//li[@class='gallerybox']//a[@class='image']//img@src" );
198198 $correct = strstr( $source, "-page1-" );
199199 $this->assertEquals( $correct, true );
200200

Status & tagging log