diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b78e644a785d..4fe00fbcd6e2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -58,7 +58,7 @@ jobs: - name: Setup sample database run: dispatch database restore --dump-file data/dispatch-sample-data.dump && dispatch database upgrade - name: Run tests - run: npx playwright test + run: npx playwright test --project=chromium --project=firefox - uses: actions/upload-artifact@v3 if: always() with: diff --git a/src/dispatch/plugins/dispatch_slack/incident/interactive.py b/src/dispatch/plugins/dispatch_slack/incident/interactive.py index eb2553022f67..f8718e7097fa 100644 --- a/src/dispatch/plugins/dispatch_slack/incident/interactive.py +++ b/src/dispatch/plugins/dispatch_slack/incident/interactive.py @@ -1500,7 +1500,7 @@ def handle_report_tactical_command( incident = incident_service.get(db_session=db_session, incident_id=context["subject"].id) if incident.tasks: - actions = "\n".join( + actions += "\n\nOutstanding Incident Tasks:\n".join( [ "-" + task.description for task in incident.tasks diff --git a/src/dispatch/static/dispatch/src/incident/store.js b/src/dispatch/static/dispatch/src/incident/store.js index 8311fb67c639..bf57d004f858 100644 --- a/src/dispatch/static/dispatch/src/incident/store.js +++ b/src/dispatch/static/dispatch/src/incident/store.js @@ -207,12 +207,14 @@ const actions = { commit("SET_DIALOG_REPORT", true) commit("SET_SELECTED", incident) - state.report.tactical.actions = incident.tasks.reduce((result, task) => { - if (task.status == "Resolved") { - return result - } - return (result ? result + "\n" : "") + "- " + task.description - }, "") + state.report.tactical.actions += + "\n\nOutstanding Incident Tasks:\n" + + incident.tasks.reduce((result, task) => { + if (task.status == "Resolved") { + return result + } + return (result ? result + "\n" : "") + "- " + task.description + }, "") }, closeReportDialog({ commit }) { commit("SET_DIALOG_REPORT", false)