playwright-slack-report-burak 3.0.24 → 3.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -271,7 +271,7 @@ const generateProblemCaseList = async (summaryResults) => {
271
271
  type: 'plain_text',
272
272
  text: 'Go to Build Details'
273
273
  },
274
- url: 'https://github.com/safetywing/test-automation/actions'
274
+ url: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`
275
275
  }]
276
276
  });
277
277
  } else {
@@ -373,7 +373,7 @@ const generateFailuresReasons = async (summaryResults) => {
373
373
  type: 'plain_text',
374
374
  text: 'Go to Build Details'
375
375
  },
376
- url: 'https://github.com/safetywing/test-automation/actions'
376
+ url: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`
377
377
  }
378
378
  ]
379
379
  });
@@ -407,7 +407,7 @@ const generateFailuresReasons = async (summaryResults) => {
407
407
  type: 'plain_text',
408
408
  text: 'Go to Build Details'
409
409
  },
410
- url: 'https://github.com/safetywing/test-automation/actions'
410
+ url: `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`
411
411
  }]
412
412
  });
413
413
  break;
package/package.json CHANGED
@@ -32,7 +32,7 @@
32
32
  "lint-fix": "npx eslint . --ext .ts --fix"
33
33
  },
34
34
  "name": "playwright-slack-report-burak",
35
- "version": "3.0.24",
35
+ "version": "3.0.25",
36
36
  "main": "index.js",
37
37
  "types": "dist/index.d.ts",
38
38
  "author": "Burak B. <burak.boluk@hotmail.com>",