Skip to content

Commit 9acf3a9

Browse files
committed
GitHubActions
1 parent b5119da commit 9acf3a9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/playwright.yml

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

80-
- name: Generate artifact link
81-
id: artifact_link
82-
# Adjust the wait time as needed
83-
run: echo "::set-output name=artifact_url::https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/"
84-
if: always()
85-
8680
# Send Slack notification once the tests are completed
8781
- name: Send Slack notification
8882
uses: rtCamp/action-slack-notify@v2
8983
env:
9084
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
9185
SLACK_CHANNEL: "#playwright-test-reports"
9286
SLACK_USERNAME: Playwright GitHub Actions
93-
SLACK_TITLE: Test results are available [here](${{ steps.artifact_link.outputs.artifact_url }}).
87+
SLACK_TITLE: Test results are available in Artifacts section of below link as html-report ${{ steps.artifact_link.outputs.artifact_url }}.
9488
# This step should always run, even if previous steps fail
9589
if: always()

0 commit comments

Comments
 (0)