From d98fb7df6ae06217540fb2adb04ab7f8421b08ff Mon Sep 17 00:00:00 2001 From: Andrew Newton Date: Thu, 12 Sep 2024 14:35:58 +0100 Subject: [PATCH] feat: add e2e tests to cd dev int vol 5263 (#322) (#323) * feat: Add e2esmoke and full regression to workflow (WIP) * feat: Call e2etest in test repo directly feat: add required permissions # Conflicts: # .github/workflows/cd.yaml --- .github/workflows/cd.yaml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 01e36449d9..3745d63c14 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -301,22 +301,29 @@ jobs: uses: dvsa/vol-functional-tests/.github/workflows/e2etest.yaml@main with: platform_env: dev - cucumber_tags: '@smoke' - browser_name: 'edge' - browser_version: 'latest' + 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 if: ${{ needs.smoke-test.result == 'success' }} - 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' + 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)