From 0fd1b69e0be38a560f59a36aeee8c62edf0bdbc0 Mon Sep 17 00:00:00 2001 From: DanielClarkeEducation <157381612+DanielClarkeEducation@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:54:09 +0000 Subject: [PATCH] Release/release nov 1 1 (#447) * Added E2E tests to github action * fixed action spacing * dependabot updates --------- Co-authored-by: Sam C <156680559+sam-c-dfe@users.noreply.github.com> --- .github/actions/run-e2e-tests/action.yml | 9 +++++++++ .../Dfe.EarlyYearsQualification.Web.csproj | 2 +- .../Dfe.EarlyYearsQualification.UnitTests.csproj | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/actions/run-e2e-tests/action.yml b/.github/actions/run-e2e-tests/action.yml index cd3d36bad..d6b4c5ce3 100644 --- a/.github/actions/run-e2e-tests/action.yml +++ b/.github/actions/run-e2e-tests/action.yml @@ -30,6 +30,15 @@ runs: working-directory: ./tests/Dfe.EarlyYearsQualification.E2ETests/ browser: firefox config: baseUrl="${{ inputs.url }}" + + - name: Run Edge Tests + uses: cypress-io/github-action@v6 + if: success() || failure() + with: + env: auth_secret="${{ inputs.auth_secret }}" + working-directory: ./tests/Dfe.EarlyYearsQualification.E2ETests/ + browser: edge + config: baseUrl="${{ inputs.url }}" - name: Store screenshots on test failure uses: actions/upload-artifact@v4 diff --git a/src/Dfe.EarlyYearsQualification.Web/Dfe.EarlyYearsQualification.Web.csproj b/src/Dfe.EarlyYearsQualification.Web/Dfe.EarlyYearsQualification.Web.csproj index cfd511ce2..d356e233c 100644 --- a/src/Dfe.EarlyYearsQualification.Web/Dfe.EarlyYearsQualification.Web.csproj +++ b/src/Dfe.EarlyYearsQualification.Web/Dfe.EarlyYearsQualification.Web.csproj @@ -11,7 +11,7 @@ - + diff --git a/tests/Dfe.EarlyYearsQualification.UnitTests/Dfe.EarlyYearsQualification.UnitTests.csproj b/tests/Dfe.EarlyYearsQualification.UnitTests/Dfe.EarlyYearsQualification.UnitTests.csproj index 7b91ad76a..89cea36ce 100644 --- a/tests/Dfe.EarlyYearsQualification.UnitTests/Dfe.EarlyYearsQualification.UnitTests.csproj +++ b/tests/Dfe.EarlyYearsQualification.UnitTests/Dfe.EarlyYearsQualification.UnitTests.csproj @@ -13,8 +13,8 @@ - - + +