From 19c6a65575bea8d98840ef4d9d9cdee0173d4b70 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Thu, 22 Oct 2026 15:24:01 +0200 Subject: [PATCH] test(19.6.1): pass UAT test 2 after relation-label remount fix --- .../19.6.1-UAT.md | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.planning/phases/19.6.1-backend-administrators-screen/19.6.1-UAT.md b/.planning/phases/19.6.1-backend-administrators-screen/19.6.1-UAT.md index add23064..404b5363 100644 --- a/.planning/phases/19.6.1-backend-administrators-screen/19.6.1-UAT.md +++ b/.planning/phases/19.6.1-backend-administrators-screen/19.6.1-UAT.md @@ -3,7 +3,7 @@ status: complete phase: 19.6.1-backend-administrators-screen source: 19.6.1-01-SUMMARY.md, 19.6.1-02-SUMMARY.md, 19.6.1-03-SUMMARY.md started: 2026-10-22T11:00:00Z -updated: 2026-10-22T12:29:30Z +updated: 2026-10-22T13:23:00Z --- ## Current Test @@ -18,9 +18,11 @@ result: pass ### 2. Create an administrator expected: Create opens the form with login, email, name, password + confirmation, role, a Superuser switch and Permission overrides. Saving with a mismatched or 3-character password shows a field error. Saving a valid admin (role e.g. developer, Superuser off) lands on the record and shows a success toast. -result: issue -reported: "All pass. Small issue - i select Developer role, i see Developer role in dropdown. I switch to permissions tab, go back to Account tab and dropdown shows \"1\" (role id) instead of label. After save, user gets assigned Developer role properly so it's only labeling issue." -severity: minor +result: pass +previous_result: issue +retested_by: 19.6.1-05 +reported: "confirmed, working as expected" +note: "Retested after demo rebuild on 127.0.0.1:8099; role dropdown keeps the name after switching tabs." ### 3. Superuser switch locks the permission overrides expected: On the new admin's form, turning Superuser ON makes the Permission overrides editor read-only with a note explaining why; turning it OFF makes the overrides editable again (radio per permission: inherit / grant / deny). Saving an override persists after reload. @@ -158,8 +160,8 @@ result: pass ## Summary total: 26 -passed: 25 -issues: 1 +passed: 26 +issues: 0 pending: 0 skipped: 0 blocked: 0 @@ -168,8 +170,10 @@ blocked: 0 - gap_id: G-19.6.1-T2 truth: "After picking a role in the Administrators form, the role dropdown keeps showing the role's name when the user switches tabs and comes back" - status: failed - reason: "User reported: I switch to permissions tab, go back to Account tab and dropdown shows \"1\" (role id) instead of label. After save, user gets assigned Developer role properly so it's only labeling issue." + status: resolved + resolved_by: 19.6.1-05 + resolved_at: 2026-10-22 + reason: "User reported after rebuild: confirmed, working as expected. Role dropdown keeps the name after switching tabs." severity: minor test: 2 root_cause: "FormView renders only the active tab's fields, so RelationField unmounts on a tab switch. On remount its id->label cache (known) is rebuilt only from props.labels (the server's meta.labels for the value stored at load time); the label of an option picked from an options page is lost and labelOf() falls back to String(id). Pre-existing in the generic relation field, not specific to this phase."