Test Index
> Auto-generated by scripts/generate-tests-md.js. Do not edit by hand. > Run node scripts/generate-tests-md.js to regenerate.
---
test/admin.routes.test.js
GET /api/admin/usersPOST /api/admin/usersPATCH /api/admin/users/:idDELETE /api/admin/users/:idGET /api/admin/configPUT /api/admin/configPOST /api/admin/shutdownnormalizes permissions so write implies read on createnormalizes permissions so write implies read on update
---
test/auth.routes.test.js
GET /api/auth/server-keyGET /api/auth/setup-neededPOST /api/auth/setupPOST /api/auth/loginsession lifecycle
---
test/config.test.js
getEffectivePathsgetAllowedRoot
---
test/crypto.test.js
hybrid encrypt / decrypt round-trip
---
test/files.routes.test.js
POST /api/files/moveroot alias endpointsGET /api/files/roots returns alias label and original namePOST /api/files/root-alias stores alias without renaming filesystem pathPOST /api/files/root-alias rejects non-root pathsGET /api/files/thumbnailreturns 404 while cached thumbnail is not readyserves cached thumbnail file when availableGET /api/files/root-accessreturns users with R/R+W modes for an exact root pathrejects non-exact nested root paths
---
test/thumbnail-cache.test.js
thumbnail cache workercreates cached thumbnail with dimensions smaller than 100pxremoves cached thumbnail when source file is deleted
---
test/page.load.test.js
page load smoke testrequests / and boots the client without runtime errorskeeps sidebar folded on initial mobile bootsuppresses default context menu on mobile file long-pressin Home, root tiles single-click focus and double-click openroot sidebar shows alias and original name, and excludes Move to actionbase-level root sidebar shows access list with no item selectedshows pending icon spinner when image thumbnail cache is not readyadmin user modal locks write checkbox while read is uncheckeduses direct svg thumbnail when svg file is under 1MB
---
Source
| 1 | # Test Index |
| 2 | |
| 3 | > Auto-generated by `scripts/generate-tests-md.js`. Do not edit by hand. |
| 4 | > Run `node scripts/generate-tests-md.js` to regenerate. |
| 5 | |
| 6 | --- |
| 7 | |
| 8 | ## `test/admin.routes.test.js` |
| 9 | - `GET /api/admin/users` |
| 10 | - `POST /api/admin/users` |
| 11 | - `PATCH /api/admin/users/:id` |
| 12 | - `DELETE /api/admin/users/:id` |
| 13 | - `GET /api/admin/config` |
| 14 | - `PUT /api/admin/config` |
| 15 | - `POST /api/admin/shutdown` |
| 16 | - `normalizes permissions so write implies read on create` |
| 17 | - `normalizes permissions so write implies read on update` |
| 18 | |
| 19 | --- |
| 20 | |
| 21 | ## `test/auth.routes.test.js` |
| 22 | - `GET /api/auth/server-key` |
| 23 | - `GET /api/auth/setup-needed` |
| 24 | - `POST /api/auth/setup` |
| 25 | - `POST /api/auth/login` |
| 26 | - `session lifecycle` |
| 27 | |
| 28 | --- |
| 29 | |
| 30 | ## `test/config.test.js` |
| 31 | - `getEffectivePaths` |
| 32 | - `getAllowedRoot` |
| 33 | |
| 34 | --- |
| 35 | |
| 36 | ## `test/crypto.test.js` |
| 37 | - `hybrid encrypt / decrypt round-trip` |
| 38 | |
| 39 | --- |
| 40 | |
| 41 | ## `test/files.routes.test.js` |
| 42 | - `POST /api/files/move` |
| 43 | - `root alias endpoints` |
| 44 | - `GET /api/files/roots returns alias label and original name` |
| 45 | - `POST /api/files/root-alias stores alias without renaming filesystem path` |
| 46 | - `POST /api/files/root-alias rejects non-root paths` |
| 47 | - `GET /api/files/thumbnail` |
| 48 | - `returns 404 while cached thumbnail is not ready` |
| 49 | - `serves cached thumbnail file when available` |
| 50 | - `GET /api/files/root-access` |
| 51 | - `returns users with R/R+W modes for an exact root path` |
| 52 | - `rejects non-exact nested root paths` |
| 53 | |
| 54 | --- |
| 55 | |
| 56 | ## `test/thumbnail-cache.test.js` |
| 57 | - `thumbnail cache worker` |
| 58 | - `creates cached thumbnail with dimensions smaller than 100px` |
| 59 | - `removes cached thumbnail when source file is deleted` |
| 60 | |
| 61 | --- |
| 62 | |
| 63 | ## `test/page.load.test.js` |
| 64 | - `page load smoke test` |
| 65 | - `requests / and boots the client without runtime errors` |
| 66 | - `keeps sidebar folded on initial mobile boot` |
| 67 | - `suppresses default context menu on mobile file long-press` |
| 68 | - `in Home, root tiles single-click focus and double-click open` |
| 69 | - `root sidebar shows alias and original name, and excludes Move to action` |
| 70 | - `base-level root sidebar shows access list with no item selected` |
| 71 | - `shows pending icon spinner when image thumbnail cache is not ready` |
| 72 | - `admin user modal locks write checkbox while read is unchecked` |
| 73 | - `uses direct svg thumbnail when svg file is under 1MB` |
| 74 | |
| 75 | --- |