Harden test suite: deflake Cypress, share helpers, prune redundant tests #58
web-tests.yml
on: push
Vitest unit tests
59s
Cypress e2e (Chrome)
4m 31s
Annotations
3 errors and 2 warnings
|
Vitest unit tests
Process completed with exit code 1.
|
|
Unhandled error:
apps/adr-manager/src/plugins/firebase/client.ts#L1
EnvironmentTeardownError: Cannot load '/@fs/home/runner/work/adr-manager-apps/adr-manager-apps/node_modules/firebase/app/dist/index.mjs' imported from /home/runner/work/adr-manager-apps/adr-manager-apps/apps/adr-manager/src/plugins/firebase/client.ts after the environment was torn down. This is not a bug in Vitest. The last recorded callstack:
- /@fs/home/runner/work/adr-manager-apps/adr-manager-apps/node_modules/firebase/app/dist/index.mjs
- /home/runner/work/adr-manager-apps/adr-manager-apps/apps/adr-manager/src/plugins/firebase/client.ts
- /home/runner/work/adr-manager-apps/adr-manager-apps/apps/adr-manager/src/plugins/git/providers/github/auth.ts
- /home/runner/work/adr-manager-apps/adr-manager-apps/apps/adr-manager/src/plugins/git/providers/github/index.ts
- /home/runner/work/adr-manager-apps/adr-manager-apps/apps/adr-manager/tests/git-provider-contract.test.ts
❯ src/plugins/firebase/client.ts:1:1
This error originated in "tests/git-provider-contract.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
|
Cypress e2e (Chrome)
Process completed with exit code 1.
|
|
Vitest unit tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Cypress e2e (Chrome)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|