feat(ECR-012): 星座对齐收口,并 Closed ECR-007/008

对齐 outlook/分享 type=star/报告页运势面板与测试;流程上关闭 Ops-B/C 两张 ECR。真支付仍后置。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-07 15:48:19 +08:00
co-authored by Cursor
parent 7ab9add5dd
commit d33c8fdfe9
42 changed files with 658 additions and 129 deletions
+24 -1
View File
@@ -30,7 +30,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(),
}))
@@ -86,6 +106,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()