diff --git a/src/reporter/report.screenshots.tpl.html b/src/reporter/report.screenshots.tpl.html index a71fff9d..ebb2c56e 100644 --- a/src/reporter/report.screenshots.tpl.html +++ b/src/reporter/report.screenshots.tpl.html @@ -196,7 +196,11 @@

<%- stepIndex + 1 %>.

<% if (stepType === "expectations") { %> -
Expectation <%- _.upperCase(step.status) %>: <%- step.shortMessage %>
+ <% if (step.matcher === 'toLookAs') { %> +
Expectation <%- _.upperCase(step.status) %>: <%- step.message %>
+ <% } else { %> +
Expectation <%- _.upperCase(step.status) %>: <%- step.shortMessage %>
+ <% } %> <% } %> <% if (stepType === "actions") { %>
Execute '<%- step.name %>' on element with