Skip to content

Commit

Permalink
DBP-791 playwright rocketchat notification (#41)
Browse files Browse the repository at this point in the history
* first manual try of rocketchat notice

* test 2

* rocketchat notificator test 3

* rocketchat test 4

* rocketchat test 5

* added notification to all gh actions, doing final test with if: always()

* Changed if always back to if failure

---------

Co-authored-by: M_Westerholz <[email protected]>
  • Loading branch information
MWesterholz and M_Westerholz authored Jul 22, 2024
1 parent db4c2ec commit 783dc5f
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,12 @@ jobs:
with:
name: playwright-report
path: playwright-report/
retention-days: 30npm login
retention-days: 30npm login
- uses: RocketChat/[email protected]
if: failure()
with:
type: ${{ job.status }}
job_name: 'Playwright Job Status: '
url: ${{ secrets.RC_WEBHOOK }}
channel: '#SPSH-Test-Automation'
username: Playwright Notificator
10 changes: 9 additions & 1 deletion .github/workflows/schedule_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ jobs:
with:
name: playwright-report
path: playwright-report/
retention-days: 30npm login
retention-days: 30npm login
- uses: RocketChat/[email protected]
if: failure()
with:
type: ${{ job.status }}
job_name: 'Playwright Job Status: '
url: ${{ secrets.RC_WEBHOOK }}
channel: '#SPSH-Test-Automation'
username: Playwright Notificator
10 changes: 9 additions & 1 deletion .github/workflows/schedule_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ jobs:
with:
name: playwright-report
path: playwright-report/
retention-days: 30npm login
retention-days: 30npm login
- uses: RocketChat/[email protected]
if: failure()
with:
type: ${{ job.status }}
job_name: 'Playwright Job Status: '
url: ${{ secrets.RC_WEBHOOK }}
channel: '#SPSH-Test-Automation'
username: Playwright Notificator
10 changes: 9 additions & 1 deletion .github/workflows/schedule_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ jobs:
with:
name: playwright-report
path: playwright-report/
retention-days: 30npm login
retention-days: 30npm login
- uses: RocketChat/[email protected]
if: failure()
with:
type: ${{ job.status }}
job_name: 'Playwright Job Status: '
url: ${{ secrets.RC_WEBHOOK }}
channel: '#SPSH-Test-Automation'
username: Playwright Notificator

0 comments on commit 783dc5f

Please sign in to comment.