Skip to content

Commit d55cd3e

Browse files
authored
Merge pull request #6626 from Countly/add-data-test-id-to-image
Add data-test-id attribute to the dashboard image in the email template
2 parents 003da6a + 3e0ea63 commit d55cd3e

File tree

1 file changed

+2
-2
lines changed
  • plugins/dashboards/frontend/public/templates

1 file changed

+2
-2
lines changed

plugins/dashboards/frontend/public/templates/email.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<td>
100100
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
101101
<tr>
102-
<td align="center" style="padding-top: 0px;" ><img alt="Dashboard" src="<%= typeof localhost !== 'undefined' ? localhost : host %>/dashboards/images/screenshots/<%= image.name %>" width="750" style="display: block;" border="0"></img></td>
102+
<td align="center" style="padding-top: 0px;" ><img alt="Dashboard" src="<%= typeof localhost !== 'undefined' ? localhost : host %>/dashboards/images/screenshots/<%= image.name %>" width="750" style="display: block;" border="0" data-test-id="report-image"></img></td>
103103
</tr>
104104
</table>
105105
</td>
@@ -142,4 +142,4 @@
142142
<!-- /Gmail hack -->
143143

144144
</body>
145-
</html>
145+
</html>

0 commit comments

Comments
 (0)