Skip to content

Commit

Permalink
chore: miscellaneous category for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales committed Apr 25, 2024
1 parent d3a6d95 commit 139326b
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/coreE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ on:
required: false
default: true
type: boolean
# miscellaneous:
# description: "Miscellaneous Commands"
# required: false
# default: true
# type: boolean
miscellaneous:
description: 'Miscellaneous Commands'
required: false
default: true
type: boolean
sObjectsDefinitions:
description: 'sObjects Definitions'
required: false
Expand Down Expand Up @@ -60,11 +60,11 @@ on:
required: false
default: true
type: boolean
# miscellaneous:
# description: "Miscellaneous Commands"
# required: false
# default: true
# type: boolean
miscellaneous:
description: 'Miscellaneous Commands'
required: false
default: true
type: boolean
sObjectsDefinitions:
description: 'sObjects Definitions'
required: false
Expand Down Expand Up @@ -106,15 +106,15 @@ jobs:
vscodeVersion: ${{ inputs.vscodeVersion || '1.85.2' }}
runId: ${{ inputs.runId }}

# miscellaneous:
# if: ${{ inputs.miscellaneous }}
# uses: ./.github/workflows/runE2ETest.yml
# secrets: inherit
# with:
# automationBranch: ${{ inputs.automationBranch }}
# testToRun: 'miscellaneous.e2e.ts'
# vscodeVersion: ${{ inputs.vscodeVersion || '1.85.2' }}
# runId: ${{ inputs.runId }}
miscellaneous:
if: ${{ inputs.miscellaneous }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'miscellaneous.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.85.2' }}
runId: ${{ inputs.runId }}

sObjectsDefinitions:
if: ${{ inputs.sObjectsDefinitions }}
Expand All @@ -138,63 +138,63 @@ jobs:

slack_success_notification:
if: ${{ success() }}
needs: [
needs:
[
anInitialSuite,
authentication,
# miscellaneous,
miscellaneous,
sObjectsDefinitions,
templates,
templates
]
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
title: 'Core E2E Tests'
vscodeVersion: ${{ inputs.vscodeVersion }}
testsBranch: ${{ inputs.automationBranch }}
# summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
result: 'All the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

slack_failure_notification:
if: ${{ failure()}}
needs: [
needs:
[
anInitialSuite,
authentication,
# miscellaneous,
miscellaneous,
sObjectsDefinitions,
templates,
templates
]
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
title: 'Core E2E Tests'
vscodeVersion: ${{ inputs.vscodeVersion }}
testsBranch: ${{ inputs.automationBranch }}
# summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
result: 'Not all the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

slack_cancelled_notification:
if: ${{ cancelled() }}
needs: [
needs:
[
anInitialSuite,
authentication,
# miscellaneous,
miscellaneous,
sObjectsDefinitions,
templates,
templates
]
uses: ./.github/workflows/slackNotification.yml
secrets: inherit
with:
title: 'Core E2E Tests'
vscodeVersion: ${{ inputs.vscodeVersion }}
testsBranch: ${{ inputs.automationBranch }}
# summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Miscellaneous: ${{ needs.miscellaneous.result }}\n- SObjects Definitions: ${{ needs.sObjectsDefinitions.result }}\n- Templates: ${{ needs.templates.result }}'
result: 'The workflow was cancelled.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

0 comments on commit 139326b

Please sign in to comment.