task-249(admin.html观感对齐): 壳层换皮 e2e 验收规格 + task-20 角色胶囊断言同步(e2e 试跑被残留 dev server 阻塞,记入清单)

This commit is contained in:
2026-09-05 21:06:50 +08:00
parent cea7662fc3
commit e0ec2d864e
2 changed files with 48 additions and 1 deletions
@@ -9,7 +9,7 @@ test('test_task_020_shell_browser_smoke_normal_primary_path', async ({ page }) =
await openAdmin(page)
await expect(page.getByRole('navigation', { name: '侧边栏菜单' })).toBeVisible()
await expect(page.locator('.admin-user-meta strong')).toHaveText('admin')
await expect(page.locator('.admin-user-meta span')).toHaveText('super_admin')
await expect(page.locator('.admin-user-role')).toHaveText('super_admin')
await expect(page.getByText('账号权限', { exact: true }).first()).toBeVisible()
})