learning_ai_notes/web/e2e
saravanakumardb1 7ea2c480e9 chore(web/e2e): add dedicated tsconfig for Playwright specs
The parent web/tsconfig.json explicitly excludes the e2e folder because
Next.js doesn't compile Playwright specs. As a result, IDE TypeScript
language servers had no project context for e2e/*.spec.ts files and
false-positive on Node globals like Buffer, process.env, and the
NodeJS namespace — which several specs use to sign fake JWTs
(Buffer.from(...).toString('base64url')) or to read NOTELETT_E2E_*
override env vars.

The new web/e2e/tsconfig.json:
  - Extends the parent web/tsconfig.json so all path aliases and
    react-jsx config stay consistent.
  - Adds 'types': ['node', '@playwright/test'] so Node globals and
    Playwright fixtures resolve.
  - Resets exclude: [] so the parent's e2e exclusion doesn't recurse
    in and re-exclude the very directory this config is meant to
    cover (which would otherwise yield TS18003 'No inputs found').

Verified:
  - npx tsc --noEmit -p web/e2e/tsconfig.json → no output (clean)
  - pnpm --filter @notelett/web run typecheck → still passes
    (e2e remains out of the main typecheck as before)
  - Playwright run unaffected (it uses tsx, not tsc, for runtime)
2026-05-23 10:18:04 -07:00
..
visual-regression.spec.ts-snapshots test(e2e): fix 4 pre-existing E2E failures and make port-conflict-proof 2026-05-23 00:50:29 -07:00
accessibility.spec.ts fix(web): repair Next.js standalone static-chunks 404 in Docker + harden 2 e2e specs 2026-05-23 02:29:40 -07:00
dashboard.spec.ts fix(e2e): add page.route() API mocking to dashboard spec 2026-03-27 13:34:51 -07:00
navigation.spec.ts chore: resolve pnpm-lock.yaml conflict after rebase 2026-04-06 08:03:46 -07:00
release-flows.spec.ts test(web): add release journey e2e coverage 2026-05-05 12:34:25 -07:00
reviews-visual.spec.ts test(ui): add review visual smoke 2026-05-06 13:28:57 -07:00
reviews.spec.ts chore: update dependencies 2026-03-29 10:50:57 -07:00
search.spec.ts chore: update dependencies 2026-03-29 10:50:57 -07:00
settings.spec.ts fix(web): repair Next.js standalone static-chunks 404 in Docker + harden 2 e2e specs 2026-05-23 02:29:40 -07:00
smart-actions.spec.ts test(e2e): fix 4 pre-existing E2E failures and make port-conflict-proof 2026-05-23 00:50:29 -07:00
tsconfig.json chore(web/e2e): add dedicated tsconfig for Playwright specs 2026-05-23 10:18:04 -07:00
visual-regression.spec.ts fix(e2e): fix escaped backticks in visual-regression template literals 2026-03-29 01:01:13 -07:00
workspaces.spec.ts chore: update dependencies 2026-03-29 10:50:57 -07:00