diff --git a/.github/workflows/massaStation-e2e-tests.yml b/.github/workflows/massaStation-e2e-tests.yml index 82a31af..5c90506 100644 --- a/.github/workflows/massaStation-e2e-tests.yml +++ b/.github/workflows/massaStation-e2e-tests.yml @@ -23,7 +23,7 @@ jobs: run: | sudo apt update npm ci - sudo apt install xvfb libnss3-tools libwebkit2gtk-4.0-dev + sudo apt install xvfb libnss3-tools libwebkit2gtk-4.1-0 - name: Build bundle run: npm run build diff --git a/jest.e2e.config.esm.js b/jest.e2e.config.esm.js index cfae83c..6299862 100644 --- a/jest.e2e.config.esm.js +++ b/jest.e2e.config.esm.js @@ -1,6 +1,6 @@ module.exports = { preset: 'ts-jest', - testEnvironment: 'jsdom', + testEnvironment: 'node', setupFilesAfterEnv: ['./test-e2e/setup.ts'], transform: { '^.+\\.tsx?$': 'ts-jest',