Permalink
Browse files

added hyperlinks on thumbnails to enlarge screenshots of failed user …

…interface tests
  • Loading branch information...
1 parent 8e241c5 commit 3ca33808c3ee6c3c7bf3d7345de4e4d54ce189e3 Sven Jansen committed Nov 21, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 integration_test_result_transform.xsl
@@ -53,7 +53,12 @@
</td>
<td>
<xsl:if test="$Screenshot != ''">
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:copy-of select="$ScreenshotPathPrefix"/><xsl:copy-of select="$Message"/><xsl:text disable-output-escaping="yes"><![CDATA[.png]]></xsl:text>
+ </xsl:attribute>
<xsl:text disable-output-escaping="yes"><![CDATA[<img src="]]></xsl:text><xsl:copy-of select="$ScreenshotPathPrefix"/><xsl:copy-of select="$Message"/><xsl:text disable-output-escaping="yes"><![CDATA[.png" width="80px"/>]]></xsl:text>
+ </xsl:element>
</xsl:if>
</td>
</tr>

0 comments on commit 3ca3380

Please sign in to comment.