Files
status-web/e2e/tsconfig.json
9d803e8d2a test: add deposit flow E2E tests (network switch, validation) (#1043)
* Add E2E tests and fixtures for MetaMask wallet integration and Pre-Deposits functionalities

* Enhance MetaMask notification handling and improve E2E test robustness

* Add pnpm workspace file for E2E test setup

* chore(hub): add changeset

* Refactor timeout configurations and relocate Pre-Deposits E2E test under hub module

* Reorganize E2E configuration and workflows; refactor imports and environment handling

* Refactor E2E environment handling: centralize env types, simplify `EnvConfig`, and reduce workflow timeout to 15 mins

* Add E2E tests for deposit flows with network switching and validation

- Implement comprehensive Pre-Deposit tests for network switching and balance validation.
- Enhance MetaMask handling with dismissPendingAddNetwork and popup detection improvements.
- Extend constants and page objects to support new test cases.

* Refactor timeout configurations across components and tests; standardize and replace hardcoded values with constants.

* Refactor MetaMask extension download: use specific versioning, remove unused env vars, and streamline process

* Remove `pnpm-lock.yaml` and refactor Pre-Deposits E2E test imports and MetaMask handling

* chore: add empty changeset for CI

* Refactor MetaMask connection approval: simplify button handling and remove redundant steps

* Refactor Pre-Deposit E2E tests: use shared chain ID constants and update Node.js version in workflow

* refactor: extract chain constants and use flexible node version in CI

* Refactor e2e tests: centralize MetaMask network switching and SIWE dialog dismissal logic into reusable helpers.

* Add `@helpers/*` path alias to e2e `tsconfig.json`

* Add E2E tests for deposit flow

Added end-to-end tests for the deposit flow, including network switch and validation checks.

* Delete .changeset/bold-candies-clap.md

---------

Co-authored-by: Egor Rachkovskii <egorrachkovskii@status.im>
Co-authored-by: JulesFILIOT <dev@julesfiliot.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Felicio <felicio@users.noreply.github.com>
2026-03-23 14:37:11 +09:00

42 lines
1.1 KiB
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"noEmit": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"baseUrl": ".",
"paths": {
"@fixtures/*": ["./src/fixtures/*"],
"@pages/*": ["./src/pages/*"],
"@constants/*": ["./src/constants/*"],
"@config/*": ["./src/config/*"],
"@helpers/*": ["./src/helpers/*"]
},
"types": ["node"]
},
"include": [
"src/**/*.ts",
"tests/**/*.ts",
"playwright.config.ts",
"global-setup.ts",
"global-teardown.ts",
"download-metamask-extension.ts"
],
"exclude": ["node_modules", "test-results"]
}