Skip to content

Commit

Permalink
Remove elipsis.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeiklejohn committed Jul 5, 2023
1 parent 1000172 commit 7344ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/html/test_execution_report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
let plural = failures.length > 1 ? "s" : "";
$('#failedMessage').html(`❌  Test failed because of assertion failure${plural}: `);
$('#failure').show();
let options = failures.map((failure,index) => failure.assertion_failure_message.indexOf(".\n") != -1 ? `<option value="${index}">${failure.assertion_failure_message.substring(0, failure.assertion_failure_message.indexOf(".\n") + 1) + "..."}</option>` : `<option value="${index}">${failure.assertion_failure_message}</option>`).join();
let options = failures.map((failure,index) => failure.assertion_failure_message.indexOf(".\n") != -1 ? `<option value="${index}">${failure.assertion_failure_message.substring(0, failure.assertion_failure_message.indexOf(".\n") + 1)}</option>` : `<option value="${index}">${failure.assertion_failure_message}</option>`).join();
console.log(options);
$("#failureSelection").append(options);
} else {
Expand Down

0 comments on commit 7344ad5

Please sign in to comment.