Skip to content

Commit

Permalink
GitHubActions
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayp7 committed Feb 25, 2024
1 parent b5119da commit 9acf3a9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,13 @@ jobs:
if-no-files-found: error
if: always()

- name: Generate artifact link
id: artifact_link
# Adjust the wait time as needed
run: echo "::set-output name=artifact_url::https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/"
if: always()

# Send Slack notification once the tests are completed
- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_CHANNEL: "#playwright-test-reports"
SLACK_USERNAME: Playwright GitHub Actions
SLACK_TITLE: Test results are available [here](${{ steps.artifact_link.outputs.artifact_url }}).
SLACK_TITLE: Test results are available in Artifacts section of below link as html-report ${{ steps.artifact_link.outputs.artifact_url }}.
# This step should always run, even if previous steps fail
if: always()

0 comments on commit 9acf3a9

Please sign in to comment.