From c52263a23f74995f9fac77a9dbc054c93ae3fcba Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Mon, 20 Jan 2025 15:43:59 +0000 Subject: [PATCH 1/3] Pin version to get it to build --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e05613ba8..0c3208510 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,8 @@ "ts-jest": "^28.0.8", "ts-node": "^10.9.1", "typescript": "^4.8.4", - "wait-on": "^7.2.0" + "wait-on": "^7.2.0", + "undici": "5.28.4" }, "scripts": { "admin-cli": "npx tsx hrm-domain/hrm-service/scripts/admin-cli.ts", From d3f92305691a3786f5c29e856d45df1d41ca61b4 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Wed, 15 Jan 2025 10:39:49 +0000 Subject: [PATCH 2/3] Fix installation of playwright dependencies for e2e tests (cherry picked from commit b3d001fab6760269ce66583555e28e332a3b13b2) --- .github/workflows/hrm-qa-release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hrm-qa-release.yml b/.github/workflows/hrm-qa-release.yml index 0c5c17349..bb89ee2b7 100644 --- a/.github/workflows/hrm-qa-release.yml +++ b/.github/workflows/hrm-qa-release.yml @@ -99,10 +99,8 @@ jobs: working-directory: ./flex-plugins/e2e-tests - name: Setup dependencies for playwright/browsers - uses: microsoft/playwright-github-action@v1 - - - name: Install Playwright CLI - run: npx playwright install + shell: bash + run: npx playwright install --with-deps chromium working-directory: ./flex-plugins/e2e-tests # Run E2E tests against actual E2E Flex instance From 05961ae5c1b480b13016f9bd99b334a84dbae0a9 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Thu, 16 Jan 2025 21:35:28 +0000 Subject: [PATCH 3/3] Pin e2e test runner to ubuntu 22.04 (cherry picked from commit 4c13aa23e5c2accbf32c927ef07e6dfc5d2d3cb8) --- .github/workflows/hrm-qa-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hrm-qa-release.yml b/.github/workflows/hrm-qa-release.yml index bb89ee2b7..10fac83eb 100644 --- a/.github/workflows/hrm-qa-release.yml +++ b/.github/workflows/hrm-qa-release.yml @@ -64,8 +64,8 @@ jobs: needs: - build-and-deploy-service - build-and-deploy-lambdas - - runs-on: ubuntu-latest + # Pinned to v22 while https://github.com/microsoft/playwright/issues/30368 is addressed + runs-on: ubuntu-22.04 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it