F2-10: 分配页菜单入口 + sysadmin-write E2E 全链路测试
menu.ts 添加 sys-admin-assign 权限分配页入口;schema-samples 清除未用 BACKEND_NODE 变量;新增 sysadmin-write.spec.ts(41 个 E2E 测试全绿): 建组→加用户→角色→菜单→验可见→停用→启用→清理全链路 + 幂等 + 403 负例。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
import { expect, test, type Page, type TestInfo } from '@playwright/test';
|
||||
import * as http from 'node:http';
|
||||
|
||||
const BACKEND_NODE = 'http://localhost:8093';
|
||||
|
||||
// ---- Node 侧登录(一次,所有 test 共用) ----
|
||||
let _tokenCache: string | null = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user