Skip to content

Commit

Permalink
feat: add e2e tests to cd dev int vol 5263 (#322)
Browse files Browse the repository at this point in the history
* feat: Add e2esmoke and full regression to workflow (WIP)

* feat: Call e2etest in test repo directly

feat: add required permissions
  • Loading branch information
fibble committed Sep 12, 2024
1 parent e0090fa commit 25bbafc
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,19 +298,33 @@ jobs:
smoke-test:
name: Run Smoke Tests
needs: terraform-env-dev
uses: dvsa/vol-functional-tests/.github/workflows/e2eSmoke.yaml@main
uses: dvsa/vol-functional-tests/.github/workflows/e2etest.yaml@main
with:
platform_env: dev
cucumber_tags: "@smoke"
browser_name: "edge"
browser_version: "latest"
secrets: inherit
permissions:
checks: write
contents: write
id-token: write

full-regression-test:
name: Run Full Regression Tests
needs: smoke-test
if: ${{ needs.smoke-test.result == 'success' }}
uses: dvsa/vol-functional-tests/.github/workflows/e2eFullRegression.yaml@main
needs: smoke-test
uses: dvsa/vol-functional-tests/.github/workflows/e2etest.yaml@main
with:
platform_env: dev
cucumber_tags: "@FullRegression"
browser_name: "edge"
browser_version: "latest"
secrets: inherit
permissions:
checks: write
contents: write
id-token: write

terraform-env-int:
name: Environment (int)
Expand Down

0 comments on commit 25bbafc

Please sign in to comment.