Skip to content

Commit

Permalink
chore: title
Browse files Browse the repository at this point in the history
ifx changing titles
  • Loading branch information
jlangy committed May 14, 2024
1 parent 50c2e70 commit 5d7823d
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 73 deletions.
130 changes: 59 additions & 71 deletions .github/workflows/main-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,48 +180,83 @@ jobs:
# job-status: ${{ job.status }}
# webhook-url: ${{ secrets.ROCKETCHAT_WEBHOOK }}

roles-tests:
# roles-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: Roles tests
# uses: cypress-io/github-action@v6
# id: roles-tests
# continue-on-error: false
# with:
# summary-title: 'Roles tests'
# wait-on: ${{ secrets.CYPRESS_HOST }}
# wait-on-timeout: 120
# record: true
# install-command: npm ci
# working-directory: testing
# spec: |
# cypress/e2e/**/integration-040-*.cy.ts
# browser: electron
# # project: ./e2e
# ci-build-id: ${{ github.event.number }}

# - name: Install bun
# uses: oven-sh/setup-bun@v1

# - name: Run the reports
# run: |
# cd testing
# npm run report

# - name: Upload Test Reports
# uses: actions/upload-artifact@v4
# with:
# name: roles-test-results
# path: testing/mochawesome-report/report.html

# - name: Rocket.Chat Notification
# if: always() && github.ref == 'refs/heads/main'
# uses: ./.github/actions/rocket-chat-notification
# with:
# text: '*Roles Tests*'
# job-status: ${{ job.status }}
# webhook-url: ${{ secrets.ROCKETCHAT_WEBHOOK }}

search-tests:
runs-on: ubuntu-latest
needs: [pre-reqs]
needs: [smoke-test]
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: Download requestrolesafter data
# uses: actions/download-artifact@v4
# with:
# name: requestsrolesafter
# path: testing/cypress/fixtures

# - run: |
# cd testing/cypress/fixtures
# ls -al
# cat requests-rolesafter.json
# printenv | sort

- name: Roles tests
- name: Search Users
uses: cypress-io/github-action@v6
id: roles-tests
id: search-users
continue-on-error: false
with:
summary-title: 'Roles tests'
summary-title: 'Search Users tests'
wait-on: ${{ secrets.CYPRESS_HOST }}
wait-on-timeout: 120
record: true
install-command: npm ci
working-directory: testing
spec: |
cypress/e2e/**/integration-040-*.cy.ts
cypress/e2e/**/search-000-prereq.cy.ts
cypress/e2e/**/search-010-rolesUsers.cy.ts
cypress/e2e/**/search-020-IDIM.cy.ts
browser: electron
# project: ./e2e
ci-build-id: ${{ github.event.number }}

- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Run the reports
run: |
cd testing
Expand All @@ -230,56 +265,9 @@ jobs:
- name: Upload Test Reports
uses: actions/upload-artifact@v4
with:
name: roles-test-results
name: search-test-results
path: testing/mochawesome-report/report.html

# - name: Rocket.Chat Notification
# if: always() && github.ref == 'refs/heads/main'
# uses: ./.github/actions/rocket-chat-notification
# with:
# text: '*Roles Tests*'
# job-status: ${{ job.status }}
# webhook-url: ${{ secrets.ROCKETCHAT_WEBHOOK }}

# search-tests:
# runs-on: ubuntu-latest
# needs: [smoke-test]
# 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: search-users
# continue-on-error: false
# with:
# summary-title: 'Search Users tests'
# wait-on: ${{ secrets.CYPRESS_HOST }}
# wait-on-timeout: 120
# record: true
# install-command: npm ci
# working-directory: testing
# spec: |
# cypress/e2e/**/search-000-prereq.cy.ts
# cypress/e2e/**/search-010-rolesUsers.cy.ts
# cypress/e2e/**/search-020-IDIM.cy.ts
# browser: electron
# # 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
# if: always() && github.ref == 'refs/heads/main'
# uses: ./.github/actions/rocket-chat-notification
Expand Down Expand Up @@ -380,7 +368,7 @@ jobs:

all-delete:
runs-on: ubuntu-latest
needs: [team-tests, roles-tests, integration-tests]
needs: [team-tests, integration-tests]
strategy:
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
steps:
Expand Down
4 changes: 2 additions & 2 deletions testing/cypress/fixtures/requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
},
"update": {
"test_id": "INT-007-UPDATE",
"projectname": "Update OIDC 1 No Team",
"projectname": "Create OIDC 1 No Team",
"team": true,
"teamname": "New Team creation",
"newteam": true,
Expand Down Expand Up @@ -443,7 +443,7 @@
},
"update": {
"test_id": "INT-008-UPDATE",
"projectname": "Update SAML 1 No Team to Team",
"projectname": "Create SAML 1 No Team to Team",
"team": true,
"teamname": "New Team creation",
"newteam": true,
Expand Down

0 comments on commit 5d7823d

Please sign in to comment.