diff --git a/.github/workflows/github_server.yml b/.github/workflows/github_server.yml index ec418793..e7a28b5b 100644 --- a/.github/workflows/github_server.yml +++ b/.github/workflows/github_server.yml @@ -138,10 +138,10 @@ jobs: fi gh issue create --title "Parse file in workflow: Test if failed tests make issue" --body "An ALKiln test run failed. See the action at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. - + ### Results: - $UNEXPECTED_RESULTS" --repo "$GITHUB_REPOSITORY" --add-label "testing" + $UNEXPECTED_RESULTS" --repo "$GITHUB_REPOSITORY" --label "testing" # ### Developer note: Example of making an issue when tests fail, part 1 # #- name: Get ALKiln output files diff --git a/lib/utils/reports.js b/lib/utils/reports.js index 2f94c561..bd47dcbe 100644 --- a/lib/utils/reports.js +++ b/lib/utils/reports.js @@ -8,11 +8,11 @@ const files = require(`./files` ); module.exports = reports = {}; reports.title = `Assembly Line Kiln Automated Testing Report - ${ (new Date()).toUTCString() }\n`; -reports.failures = [ `\n\n===============================\n===============================\nšŸ¤• Failed scenarios:\n` ]; -reports.successes = [ `\n\n===============================\n===============================\nšŸŒˆ Passed scenarios:\n` ]; -// reports.warnings = [ `\n\n===============================\n===============================\nšŸ”Ž Scenarios to check:\n` ]; -// reports.undefineds = [ `\n\n===============================\n===============================\n[langs icon] Scenarios with typos:\n` ]; -reports.others = [ `\n\n===============================\n===============================\nšŸ”Ž Other scenarios that did not pass:\n` ]; +reports.failures = [ `\n\n*******************************\n*******************************\nšŸ¤• Failed scenarios:\n*******************************` ]; +reports.successes = [ `\n\n*******************************\n*******************************\nšŸŒˆ Passed scenarios:\n*******************************` ]; +// reports.warnings = [ `\n\n*******************************\n*******************************\nšŸ”Ž Scenarios to check:\n*******************************` ]; +// reports.undefineds = [ `\n\n*******************************\n*******************************\n[langs icon] Scenarios with typos:\n*******************************` ]; +reports.others = [ `\n\n*******************************\n*******************************\nšŸ”Ž Other scenarios that did not pass:\n*******************************` ]; reports.addReportHeading = function (scope, { scenario }) { /** Return printable heading based on Scenario name and tags. @@ -26,14 +26,14 @@ reports.addReportHeading = function (scope, { scenario }) { tag_names.push( tag.name ); } - let heading = `\n---------------\n` + let heading = `\n~~~~~~~~~~~~~~~\n` + `Scenario: ${ scenario.pickle.name }`; if ( tag_names.length > 0 ) { heading += `\nTags: ${ tag_names.join(' ') }`; } - heading += `\n---------------`; + heading += `\n~~~~~~~~~~~~~~~`; reports.addToReport( scope, { code: `ALK0176`,