Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
chore: replace Templates with LWC LSP in Base Suite
Browse files Browse the repository at this point in the history
  • Loading branch information
daphne-sfdc committed Feb 14, 2024
1 parent edf3651 commit c1c78fb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/baseSuiteE2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ on:
required: false
default: true
type: boolean
templates:
description: 'Create Commands'
lwcLSP:
description: 'LWC LSP'
required: false
default: true
type: boolean
Expand Down Expand Up @@ -77,8 +77,8 @@ on:
required: false
default: true
type: boolean
templates:
description: 'Create Commands'
lwcLSP:
description: 'LWC LSP'
required: false
default: true
type: boolean
Expand Down Expand Up @@ -135,13 +135,13 @@ jobs:
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}

templates:
lwcLSP:
if: ${{ inputs.templates || github.event_name == 'workflow_run' }}
uses: ./.github/workflows/runE2ETest.yml
secrets: inherit
with:
automationBranch: ${{ inputs.automationBranch }}
testToRun: 'templates.e2e.ts'
testToRun: 'lwcLsp.e2e.ts'
vscodeVersion: ${{ inputs.vscodeVersion || '1.82.3' }}
runId: ${{ inputs.runId }}
os: ${{ inputs.os || '["ubuntu-latest"]' }}
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
[
anInitialSuite,
authentication,
templates,
lwcLSP,
deployAndRetrieve,
apexLSP,
runApexTests,
Expand All @@ -195,7 +195,7 @@ jobs:
with:
title: 'Base E2E Test Suite'
testsBranch: ${{ inputs.automationBranch }}
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Templates: ${{ needs.templates.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- LWC LSP: ${{ needs.lwcLSP.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
result: 'All the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'
Expand All @@ -206,7 +206,7 @@ jobs:
[
anInitialSuite,
authentication,
templates,
lwcLSP,
deployAndRetrieve,
apexLSP,
runApexTests,
Expand All @@ -216,7 +216,7 @@ jobs:
with:
title: 'Base E2E Test Suite'
testsBranch: ${{ inputs.automationBranch }}
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Templates: ${{ needs.templates.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- LWC LSP: ${{ needs.lwcLSP.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
result: 'Not all the tests passed.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'
Expand All @@ -227,7 +227,7 @@ jobs:
[
anInitialSuite,
authentication,
templates,
lwcLSP,
deployAndRetrieve,
apexLSP,
runApexTests,
Expand All @@ -237,7 +237,7 @@ jobs:
with:
title: 'Base E2E Test Suite'
testsBranch: ${{ inputs.automationBranch }}
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- Templates: ${{ needs.templates.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
summary: '\n- An Initial Suite: ${{ needs.anInitialSuite.result }}\n- Authentication: ${{ needs.authentication.result }}\n- LWC LSP: ${{ needs.lwcLSP.result }}\n- Deploy and Retrieve: ${{ needs.deployAndRetrieve.result }}\n- Apex LSP: ${{ needs.apexLSP.result }}\n- Run Apex Tests: ${{ needs.runApexTests.result }}'
result: 'The workflow was cancelled.'
workflow: 'actions/runs/${{ github.run_id }}'
type: 'e2e'

0 comments on commit c1c78fb

Please sign in to comment.