Skip to content

Commit

Permalink
Fix SVG link test failures in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Aug 19, 2018
1 parent 278131e commit 6d55c73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/fixtures/outbound-link-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@
viewBox="0 0 100 20"
width="100"
height="20">
<a id="svg-link" xlink:href= "https://example.com/?q=svg-link">
<text x="0" y="16" font-family="serif" font-size="16">
<a xlink:href= "https://example.com/?q=svg-link">
<!-- Safari driver doesn't seem to support clicking SVG links so we put the ID attribute on an element inside the link -->
<text id="svg-link" x="0" y="16" font-family="serif" font-size="16">
SVG Link
</text>
</a>
Expand Down

0 comments on commit 6d55c73

Please sign in to comment.