Commit c5df861
Feat/smoke env docs cleanup ci (#584)
* test: add Playwright smoke coverage for login and wallets
Adds tests/e2e/login.spec.ts and tests/e2e/wallets.spec.ts covering the
primary login (empty state, validation, success, failure) and wallet
monitoring (auth redirect, loading/error/empty/populated table, add
wallet modal, sidebar nav) paths, run against desktop and a narrow
mobile (Pixel 7) viewport via playwright.config.ts. Adds the
@playwright/test devDependency and test:e2e / test:e2e:ui scripts.
* docs: document frontend env vars in README
Adds a full environment variable reference table to README.md and a
companion docs/frontend-env-vars.md covering every NEXT_PUBLIC_* and
server-only var read by the app (src/lib/env.ts, src/lib/api/config.ts,
the auth/wallets API routes, and the analytics tracking hooks),
clarifies that network selection (testnet vs mainnet) is driven purely
by which backend NEXT_PUBLIC_API_URL points at, and expands
.env.example to list every documented variable with inline comments.
* docs: remove obsolete feature markdown clutter from root
Deletes 44 stale implementation-summary / PR-description / checklist
markdown files from the repo root (ADDRESS_*, ANALYTICS_*, RECOVERY_*,
WALLETS_UI_*, IMPLEMENTATION_*, etc.). They only ever cross-referenced
each other, were superseded by the current README and docs/ folder, and
made it hard to find the docs that actually matter. Points README.md at
docs/ for ongoing reference material and keeps the root to just README.md.
* ci: ensure next build passes typecheck in CI
Splits .github/workflows/ci.yml into typecheck, unit-tests, and a
testnet/mainnet build matrix (previously the workflow never ran the
Vitest suite in CI at all, and built only once against a single
hardcoded API URL). Adds a `typecheck` npm script so CI and local
runs use the identical command, excludes tests/e2e and
playwright.config.ts from the app tsconfig so Playwright's own types
don't leak into the strict app-wide tsc pass, and dedupes the
duplicate @storybook/* keys in package.json devDependencies. See
docs/ci-typecheck.md for the full rundown, including a follow-up note
that pnpm-lock.yaml still needs a local `pnpm install` to pick up the
@playwright/test devDependency added earlier in this branch.
---------
Co-authored-by: James Aklo <jamesjambox@gmail.com>1 parent d1a4a70 commit c5df861
58 files changed
Lines changed: 619 additions & 15129 deletions
File tree
- .github/workflows
- docs
- tests/e2e
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
2 | 9 | | |
3 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
38 | 97 | | |
39 | 98 | | |
40 | 99 | | |
41 | 100 | | |
42 | | - | |
| 101 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
0 commit comments