Files
zyt/identity-admin/.test-runtime/kf-basic-role-edit-20261104/frontend/frontend-test.log
T
2026-11-11 14:22:02 +08:00

47 lines
3.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
✔ 实际Vite代理同时接受旧前缀与标准API前缀,保留独立后端配置 (128.9674ms)
✔ same logged-in token gains/revokes real menus, matcher routes and reactive action rights (75.0335ms)
✔ grant/revoke siblings preserves an authorized current matcher, component and pinned tab (88.6953ms)
✔ equal/reordered permissions refresh profile without rebuilding menus; hidden polls pause and focus resumes (17.8425ms)
✔ concurrent events coalesce; logout disposes; old account response cannot overwrite a new session (30.4924ms)
✔ wrong identity and late preparation are ignored; failed preparation can recover (12.9986ms)
✔ reinstall is singleton and an old disposer cannot stop its replacement (72.7043ms)
Access token or refresh token is invalid or expired.
✔ actual request auth interceptor ignores an old 401; current 401 retains expiry handling; 403 never retries (1081.0687ms)
✔ 自定义只读角色不被默认送到无权限统计页,保留原管理员首页和强制改密 (2.1808ms)
✔ 基础角色只显示我的账号,业务目录使用实际Vben权限算法按子页面读权限开放 (3.3161ms)
✔ 角色读取权限经过实际Vben父子路由过滤后可进入角色页,兼容用户读取权限 (1.2583ms)
✔ 每个已授予的页面都能通过实际父目录过滤,包括新增的细分读取权限 (2.9903ms)
✔ 不同访问地址先进入固定客服回调域,再在该域创建PKCE事务 (3.8071ms)
✔ authorization uses random state, S256 PKCE and a fixed client/callback (89.0998ms)
✔ state mismatch, expiry, duplicates, fragments and browser profiles consume and reject (18.7212ms)
✔ entry/callback validation rejects insecure and attacker controlled configuration (0.5795ms)
✔ approved HTTP callback keeps its exact port and cannot approve HTTP Group URLs (0.9454ms)
✔ HTTP without subtle uses real hash-wasm for the known S256 vector and a port-bound callback (12.374ms)
✔ HTTP crypto keeps secure randomness and rejects callbacks from another origin or path (22.0005ms)
✔ starting another login clears the old transaction (57.3623ms)
✔ SSO from old admin clears dynamic routes, menus, tabs and persisted identity before token installation (389.1555ms)
✔ password login shares authoritative initialization and preserves forced password landing (260.3929ms)
✔ local and ZYT credentials share password API and use only current /me permissions (568.7615ms)
✔ ordinary password errors release loading and permit retry through the same authLogin (27.3097ms)
✔ ordinary password /me failure clears new identity and allows a clean retry (8.5901ms)
✔ failure to load current local identity clears the new token and authorization (8.6719ms)
✔ 管理员实际组件仍只读:名称/权限禁用、查看与关闭、禁止写删 (898.3367ms)
✔ 集团基础角色有编辑和保存入口,选定菜单与操作会提交真实 API,空数组可全部撤销 (676.08ms)
✔ 内置业务角色仍可编辑但不可删除,在用角色也不可删除 (1612.9905ms)
✔ 有角色写权限但没有删除权限的用户仍不能删除普通角色 (189.8586ms)
✔ 普通业务角色仍可编辑并保留自定义权限,保存只过滤失效码并说明在线用户自动同步 (270.7823ms)
✔ 角色只读用户不能通过组件方法保存或删除业务角色 (574.8875ms)
✔ 角色编辑、共享授权说明和无权限欢迎提示都有英文映射 (324.7316ms)
✔ 基础角色欢迎页按真实权限显示提示,不再显示可能已更名的固定角色名称 (123.5744ms)
✔ 实际登录页只有一份账号密码表单和登录按钮,ZYT/本地均走普通提交 (593.0516ms)
✔ 实际登录页普通提交失败后仍可用同一份表单重试 (51.3932ms)
✔ ZYT/本地密码只随统一POST body发送,不进入URL或localStorage (79.2525ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 11442.942