merge: 合入本地 Ops 扩展与 origin/main(ECR-009–016)
保留远程用户侧 ECR-009–016 与本地 Ops 目录/RBAC/CMS/危机等能力;文档标注分叉期间 ECR 编号冲突。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -38,7 +38,27 @@ test('star / rhythm / cards pages render with mocked API', async ({ page }) => {
|
||||
id: 'rep-star',
|
||||
type: 'star',
|
||||
has_deep_access: false,
|
||||
summary: { headline: 'E2E星象', one_liner: '星象摘要', keywords: ['灵活'] },
|
||||
summary: {
|
||||
headline: 'E2E星象',
|
||||
one_liner: '星象摘要',
|
||||
keywords: ['灵活'],
|
||||
planets: [
|
||||
{ key: 'sun', title: '太阳', sign: '双子', degree: '10°', house: 1, lon: 70 },
|
||||
],
|
||||
chart: { note: '热带黄道', asc_lon: 70, houses: [{ num: 1, sign: '双子' }] },
|
||||
aspects_preview: [],
|
||||
outlook: {
|
||||
daily: {
|
||||
title: '今日运势', label: '顺畅', score: 80, tip: 'e2e tip',
|
||||
focus: '行动', boost: '水', caution: '缓', dims: { love: 3, career: 4, money: 3, mood: 4 },
|
||||
},
|
||||
weekly: { title: '本周', label: '稳', score: 70, tip: 'w', focus: 'f', boost: 'b', caution: 'c' },
|
||||
monthly: { title: '本月', label: '稳', score: 70, tip: 'm', focus: 'f', boost: 'b', caution: 'c' },
|
||||
yearly: { title: '今年', label: '稳', score: 70, tip: 'y', focus: 'f', boost: 'b', caution: 'c' },
|
||||
lifetime: { title: '一生运势摘要', label: '稳', score: 70, tip: 'l', focus: 'f', boost: 'b', caution: 'c' },
|
||||
},
|
||||
transits: [{ key: 't1', title: '行运提示', aspect: '合相', tip: '推进' }],
|
||||
},
|
||||
detail: null,
|
||||
created_at: new Date().toISOString(),
|
||||
}))
|
||||
@@ -94,6 +114,9 @@ test('star / rhythm / cards pages render with mocked API', async ({ page }) => {
|
||||
await page.goto('/psy/star?y=1983&m=6&d=6')
|
||||
await expect(page.getByText('E2E星象')).toBeVisible()
|
||||
await expect(page.getByRole('button', { name: /解锁完整分析/ })).toBeVisible()
|
||||
await page.getByRole('button', { name: '运势' }).click()
|
||||
await expect(page.getByText('今日运势')).toBeVisible()
|
||||
await expect(page.getByText('焦点:行动')).toBeVisible()
|
||||
|
||||
await page.goto('/psy/rhythm?y=1992&m=6&d=8')
|
||||
await expect(page.getByText('身心节律').first()).toBeVisible()
|
||||
|
||||
Reference in New Issue
Block a user