Skip to content

Commit

Permalink
chore: show full message for toLookAs in report (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaleksandrova authored Mar 31, 2021
1 parent 2110cf8 commit 32f5330
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/reporter/report.screenshots.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,11 @@
<p class="strong"><%- stepIndex + 1 %>.</p>
<div class="content <%- stepType === 'actions' ? 'reverse' : ''%>">
<% if (stepType === "expectations") { %>
<div>Expectation <%- _.upperCase(step.status) %>: <%- step.shortMessage %></div>
<% if (step.matcher === 'toLookAs') { %>
<div>Expectation <%- _.upperCase(step.status) %>: <%- step.message %></div>
<% } else { %>
<div>Expectation <%- _.upperCase(step.status) %>: <%- step.shortMessage %></div>
<% } %>
<% } %>
<% if (stepType === "actions") { %>
<div>Execute '<%- step.name %>' on element with
Expand Down

0 comments on commit 32f5330

Please sign in to comment.