Skip to content

Commit

Permalink
fix: update main-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
rstens committed Mar 6, 2024
1 parent 1617536 commit bdde194
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/main-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,3 +379,50 @@ jobs:
mention_if: 'failure'
channel: '#sso-ops'
url: ${{ secrets.ROCKETCHAT_WEBHOOK }}

idpstopper-tests:
runs-on: ubuntu-latest
needs: pre-reqs
strategy:
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
steps:
# Checkout the PR branch
- name: Checkout Target Branch
uses: actions/checkout@v4
- name: Search Users
uses: cypress-io/github-action@v6
id: idpstop
continue-on-error: false
with:
summary-title: 'IDP Stopper tests'
wait-on: ${{ secrets.CYPRESS_HOST }}
wait-on-timeout: 120
record: true
install-command: npm ci
working-directory: testing
spec: |
cypress/e2e/**/idpstopper-**-**.cy.ts
browser: chrome
# project: ./e2e
ci-build-id: ${{ github.event.number }}

- name: Run the reports
run: |
cd testing
npm run report
- name: Upload Test Reports
uses: actions/upload-artifact@v4
with:
name: search-test-results
path: testing/mochawesome-report/report.html

- name: Rocket.Chat Notification
uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master
if: always() && github.ref == 'refs/heads/main'
with:
type: ${{ job.status }}
job_name: '*IDP Stopper Test*'
mention_if: 'failure'
channel: '#sso-ops'
url: ${{ secrets.ROCKETCHAT_WEBHOOK }}

0 comments on commit bdde194

Please sign in to comment.