fix(e2e): improve supersync test stability and build compatibility

E2E test improvements:
- Increase timeouts for sync button and add task bar visibility checks
- Add retry logic for sync button wait in setupSuperSync
- Handle dialog close race conditions in save button click
- Fix simple counter test to work with collapsible sections and inline forms

Build fixes:
- Add es2022 lib/target and baseUrl to electron tsconfig
- Include window-ea.d.ts for proper type resolution
- Add @ts-ignore for import.meta.url in reminder service for Electron build
This commit is contained in:
Johannes Millan 2025-12-19 09:59:44 +01:00
parent d54156dda3
commit ab0371fac6
5 changed files with 106 additions and 30 deletions

View file

@ -10,9 +10,12 @@
"skipLibCheck": true,
"typeRoots": ["node_modules/@types"],
"downlevelIteration": true,
"lib": ["dom"],
"esModuleInterop": true
"lib": ["dom", "es2022"],
"target": "es2022",
"module": "commonjs",
"esModuleInterop": true,
"baseUrl": ".."
},
"include": ["main.ts", "**/*.ts"],
"include": ["main.ts", "**/*.ts", "../src/app/core/window-ea.d.ts"],
"exclude": ["../node_modules", "**/*.spec.ts"]
}