Skip to content

Commit cc83abd

Browse files
committed
GitHubActions
1 parent 69d5dca commit cc83abd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/playwright.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,18 @@ jobs:
7777
if-no-files-found: error
7878
if: always()
7979

80+
- name: Generate artifact link
81+
id: artifact_link
82+
run: echo "::set-output name=artifact_url::https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/"
83+
if: always()
84+
8085
# Send Slack notification once the tests are completed
8186
- name: Send Slack notification
8287
uses: rtCamp/action-slack-notify@v2
8388
env:
8489
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
8590
SLACK_CHANNEL: "#playwright-test-reports"
8691
SLACK_USERNAME: Playwright GitHub Actions
87-
SLACK_TITLE: Test results are available in Artifacts section of below link as html-report [Report Link](${{ steps.artifact_link.outputs.artifact_url }}).
92+
SLACK_TITLE: Test results are available in Artifacts section of below link as html-report. ${{ steps.artifact_link.outputs.artifact_url }}.
8893
# This step should always run, even if previous steps fail
8994
if: always()

0 commit comments

Comments
 (0)