Files
summercms/.planning/phases/10-admin-vue-spa/10-UAT.md

76 lines
3.7 KiB
Markdown

---
status: testing
phase: 10-admin-vue-spa
source: [10-VERIFICATION.md]
started: 2026-09-27T16:44:38Z
updated: 2026-10-11T15:12:56.219Z
---
## Current Test
[testing complete]
## Tests
### 1. Decide CR-01 (refresh ignores tokens_valid_after / is_activated)
expected: Fix now or accept with override. Secure behavior is a redirect to login after password reset and token expiry.
result: pass
note: fixed in quick task 260927-q23 (be4a923, a13a121)
### 2. Limited admin vs superuser navigation at /plytadmin
expected: Limited admin (only golem15.fonoteka.access_genres) sees only fonoteka > Genres, no Ustawienia. Superuser sees Albums, Collections, Genres, Styles, Artists plus Ustawienia.
result: pass
### 3. Walkthrough of the five controllers and Ustawienia
expected: Every list and form renders from its YAML. Search, sort, filter, paging and bulk delete work. Save shows a toast. 422 errors appear under the right fields. Albums genre/artists relations and Ustawienia > search_use_typesense work.
result: pass
### 4. Collection editors link/unlink round trip
expected: The picker shows 5 per page with the owner excluded. Dodaj (N) is disabled at 0. Linking refreshes the list and shows a plural toast. Unlink asks for confirmation and removes the row. The focus trap and Esc work. The relation manager does not appear on the create form.
result: pass
### 5. Visual check in light/dark at desktop and ~900px
expected: Matches .planning/phases/10-admin-vue-spa/design. The sidebar stays dark. Below ~1100px the panel collapses to the rail, and the flyout opens on hover/focus, closes on Esc and returns focus.
result: pass
### 6. Secure cookie on http://localhost (assumption A3)
expected: With backend.cookie_secure at its default, Chrome and Firefox store summer_admin on http://localhost and the session works.
result: pass
### 7. Review the 17 judgment-tier prohibitions in 10-VERIFICATION.md
expected: Accept or reject the verifier's "not violated" verdicts.
result: pass
### 8. Re-walk the Phase 10 admin flows in a real browser on the current build: run the fonoteka binary, open /plytadmin as a superuser and as a genres-only admin, then use the list and form of each of the five controllers (search, sort, filter, paging, save, 422 field errors), link and unlink a Collection editor, open Ustawienia, and glance at light and dark mode.
expected: Everything still behaves as approved in 10-UAT.md tests 2 to 5. The limited admin sees only fonoteka > Genres. Lists and forms render. The editor round trip works. The Albums form's later widgets, partials and field types do not break the Phase 10 form; list state persisted in the URL and storage does not confuse paging or filtering.
result: [pending]
### 9. Publish the sibling-repo test fixes the --go pass depends on: push sm-user-plugin 569768e, then commit the plugins/golem15/user pointer bump (cf5c6b9 -> 569768e) in fonoteka.go as a separate commit, and push fonoteka.go (03dad50, 7db5ef8 and the bump) when you choose.
expected: A clean checkout of fonoteka.go at its committed pointer passes check-phase10.sh --go, as the working tree does now.
result: [pending]
### 10. Carried: decide CR-01 (refresh ignores tokens_valid_after / is_activated)
expected: Fix now or accept with override
result: [pending]
### 11. Carried: Secure cookie on http://localhost (assumption A3)
expected: Chrome and Firefox store summer_admin with default cookie_secure
result: [pending]
### 12. Carried: review the 17 judgment-tier prohibitions
expected: Accept or reject the verifier's non-authoritative verdicts
result: [pending]
## Summary
total: 12
passed: 7
issues: 0
pending: 5
skipped: 0
blocked: 0
## Gaps
None. The user approved all items in a local browser session on 2026-09-27. A follow-up change made the record and settings forms full width (2585671).