|
|
6f1b9f3f68
|
test: PR#27新增单元测试和e2e测试
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 17s
Test / e2e-test (push) Successful in 53s
后端: auto_translate/title_case 14个测试
前端: EDITOR_ONLY_TAGS、drop单复数、已下架过滤 11个测试
E2E: en_name title case、删除用户转移配方、管理配方登录引导
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-12 10:26:44 +00:00 |
|
|
|
e9626a08b9
|
test: 更新单元测试覆盖智能识别新功能和share_recipe日志
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 7s
PR Preview / teardown-preview (pull_request) Successful in 14s
Test / unit-test (push) Successful in 5s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 7s
Test / e2e-test (push) Successful in 53s
- parseOilChunk: 无数字默认1滴、混合格式、_ml标记
- findOil: 2字不模糊匹配、同音词和子串仍可用
- parseMultiRecipes: 多配方分割、空行/分号、名称识别、去重
- e2e: audit-log create_recipe → share_recipe
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-11 23:14:05 +00:00 |
|
|
|
026ff18e92
|
test: 新增英文搜索单元测试(5个)
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Failing after 29m2s
- oilEn翻译验证(已知/未知精油)
- 英文查询检测
- 英文匹配精油名和配方en_name
全部通过: 209 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-11 16:41:34 +00:00 |
|
|
|
83078f8f8b
|
test: PR#23新增单元测试(13个)
Deploy Production / test (push) Successful in 7s
Deploy Production / deploy (push) Successful in 8s
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 11s
Test / e2e-test (push) Has been cancelled
- 套装定义:家庭医生10种、居家呵护21种、芳香调理8种
- 配方匹配:排除椰子油、至少1种匹配、全匹配
- 消耗分析:计算次数、最先消耗完、全部相同
- 项目定价:JSON序列化和反序列化
全部通过: 204 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-11 10:44:54 +00:00 |
|
|
|
76c9316ede
|
test: 新增PR#22相关单元测试
Deploy Production / test (push) Successful in 6s
Deploy Production / deploy (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Has been skipped
PR Preview / test (pull_request) Successful in 5s
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Successful in 51s
新增12个测试:
- 标签排序和EDITOR_ONLY_TAGS过滤
- Recipe数据格式(oil_name覆盖oil的bug验证)
- loadRecipes映射验证
- 容量检测(single/5/10/15/20/30/custom)
- 稀释比例计算和snap到最近选项
全部通过: 191 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-10 22:11:05 +00:00 |
|
|
|
3c808be7e5
|
test: 新增单元测试和更新e2e测试
Deploy Production / test (push) Successful in 5s
Deploy Production / deploy (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Has been skipped
PR Preview / test (pull_request) Successful in 5s
Test / unit-test (push) Successful in 4s
Test / build-check (push) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 10s
Test / e2e-test (push) Has been cancelled
新增单元测试 (11个):
- parseMultiRecipes: 单条/空格/连写/多条/无名称
- getPinyinInitials: 常见精油/忍冬花
- matchesPinyinInitials: 前缀匹配/不匹配子串/忍冬花
- EDITOR_ONLY_TAGS: 导出验证
E2E测试更新:
- recipe-detail: 适配新UI(无编辑按钮)
- 新增卡片视图测试
全部通过: 179 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-10 21:22:58 +00:00 |
|
|
|
ad3af5bd56
|
Expand test suite to 364 tests (168 unit + 196 E2E)
Unit tests:
- Volume/dilution calculation (63 tests): scaling, mode detection,
ratio calculation, real recipe round-trip verification
E2E tests:
- Batch operations: create/tag/delete 3 recipes, adopt workflow
- Projects: CRUD, pricing, profit calculation vs oil costs
- Notifications: fetch, fields, mark-all-read
- Account settings: profile read/update, auth rejection
- Category modules: listing, tag reference
- Registration: register, login, duplicate rejection
- Audit log: pagination, field validation, action tracking
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-06 19:59:22 +00:00 |
|
|
|
2491479c2c
|
Add comprehensive test suite: 105 unit + 167 E2E tests
- Vitest unit tests: smart paste parsing (37), cost calculations (21),
oil translation (16), dialog system (12), with production data fixtures
- Cypress E2E tests: API CRUD (27), auth flow (8), recipe detail (10),
search (12), oil reference (4), favorites (6), inventory (6),
recipe management (10), diary (11), bug tracker (8), user management (13),
cost parity (6), data integrity (8), responsive (9), performance (6),
navigation (8), admin flow (5)
- Test coverage doc with prioritized gap analysis
- Found backend bug: POST /api/bug-reports/{id}/comment deletes the bug
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-06 19:47:47 +00:00 |
|