Skip to content

Commit

Permalink
Adding guard to create an issue and removing custom reporter for the …
Browse files Browse the repository at this point in the history
…artifact
  • Loading branch information
amankumarrr committed Mar 26, 2024
1 parent b086f27 commit 51fd441
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/auto_bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ about: Report a bug
title: "🐛 {{ env.TITLE }}"
labels: "Type: Bug"
assignees: ""
projects: "projects/22"
status: "Backlog - Ready"
---

@SSWConsulting/ssw-website-maintainers

**Describe the bug**
@wicksipedia @amankumarrr @Harry-Ross @jeoffreyfischer @andrewwaltosssw
Pipeline has detected some broken images on the website.

- [ ] Investigate and fix it asap.
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/template-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ jobs:
id: run
shell: pwsh
run: |
$status = npx playwright test ${{ inputs.tests_to_run }} ${{ inputs.reporter }}
$status = npx playwright test ${{ inputs.tests_to_run }}
echo "Test status: $status"
echo "status=$status" >> $env:GITHUB_OUTPUT
env:
HOST_URL: ${{ inputs.deploy_url }}

- uses: actions/upload-artifact@v4
id: artifact-report
if: always()
id: artifact-report
with:
name: playwright-report
path: playwright-report/
Expand All @@ -70,6 +70,7 @@ jobs:
name: GitHub Issue
runs-on: ubuntu-latest
needs: test
if: needs.test.outputs.status != 'passed' && inputs.reporter != ''
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 51fd441

Please sign in to comment.