align(分组管理): 组员候选按归属过滤(超管全量/非超管仅本组长创建的普通账号)、新建组长恒为当前用户、补创建时间列、chips 全量渲染(对齐 admin.js getEligibleShopManageGroupUsers/帮助文案)
This commit is contained in:
@@ -19,7 +19,8 @@ test('test_task_253_group_list_normal_variant_input', () => {
|
||||
assert.match(page, /canEditOf/, '需有可编辑判定')
|
||||
assert.match(page, /leaderUserId/, '判定依赖组长 leaderUserId')
|
||||
const editor = readSource('src/pages/account/GroupEditorDialog.vue')
|
||||
assert.match(editor, /组长不可更改|组长(创建人)/, '组长语义可见')
|
||||
assert.match(editor, /组长/, '编辑弹窗含组长展示')
|
||||
assert.match(editor, /当前登录用户/, '新建时组长只读为当前登录用户')
|
||||
})
|
||||
|
||||
test('test_task_253_group_list_normal_repeated_operation_is_idempotent', () => {
|
||||
@@ -39,10 +40,10 @@ test('test_task_253_group_list_boundary_empty_input', () => {
|
||||
})
|
||||
|
||||
test('test_task_253_group_list_boundary_single_item', () => {
|
||||
// 单组:无组员显示“无”,超员折叠 +N。
|
||||
// 单组:无组员显示“无”;组员 chips 全量渲染(对齐 admin.js 全量 chips,不再收 +N)。
|
||||
const page = readSource('src/pages/account/GroupsPage.vue')
|
||||
assert.match(page, /member-none|无/, '无组员占位')
|
||||
assert.match(page, /slice\(0,\s*10\)/, '超员折叠')
|
||||
assert.doesNotMatch(page, /slice\(0,\s*10\)/, '组员全量渲染')
|
||||
})
|
||||
|
||||
test('test_task_253_group_list_boundary_limit_or_missing_field', () => {
|
||||
|
||||
Reference in New Issue
Block a user