You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/playwright.yml
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -57,20 +57,16 @@ jobs:
57
57
run: zip -r html-report.zip html-report
58
58
# This step should always run, even if previous steps fail
59
59
if: always()
60
-
61
-
62
-
- name: Upload HTML report as artifact
63
-
uses: actions/upload-artifact@v2
64
-
with:
65
-
name: html-report
66
-
path: html-report.zip
67
-
60
+
61
+
# Send Slack notification once the tests complete
68
62
- name: Send Slack notification
69
63
uses: rtCamp/action-slack-notify@v2
70
64
env:
71
65
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
72
66
SLACK_CHANNEL: "#playwright-test-reports"
73
67
SLACK_USERNAME: GitHub Actions
74
-
SLACK_TITLE: "Playwright tests have completed successfully. HTML report is attached as an artifact. You can download it [here](${{ github.server_url }}/${{ github.repository }}/actions/artifacts/html-report)"
75
-
# This step should always run, even if previous steps fail
68
+
SLACK_TITLE: Playwright Tests Completed
69
+
SLACK_TEXT: "Playwright tests have completed. Here is the HTML zip report."
70
+
SLACK_FILE: ./html-report.zip
71
+
# This step should always run, even if previous steps fail
0 commit comments