|
|
616e51f36c
|
test: 套装方案对比功能的单元测试和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 13s
Test / e2e-test (push) Successful in 3m0s
单元测试(21个): 套装配置验证、油名解析、折扣率计算、配方匹配逻辑
e2e测试(16个): 页面加载、权限控制、套装卡片、配方表格、横向对比、导出按钮
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 00:16:45 +00:00 |
|
|
|
f5eb60f376
|
test: PR31测试 — 零售价列对齐、volume映射、显示标签
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Failing after 5m6s
新增9个测试: 零售价列显隐逻辑、空占位值、volume映射和默认值
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 20:33:57 +00:00 |
|
|
|
ad9cc57d00
|
test: PR30测试 — 子序列匹配、单位系统、volume优先级 + 拼音补字
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 5s
Test / unit-test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Successful in 17s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 3s
Deploy Production / deploy (push) Successful in 8s
Test / e2e-test (push) Failing after 3m8s
新增12个测试: pinyinMatchScore、产品名拼音、单位映射、volume优先级
更新2个旧测试适配substring/subsequence匹配
补全拼音: 面、湿
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 18:34:17 +00:00 |
|
|
|
abc54f2d6a
|
test: PR#29测试 — 拼音匹配扩展、viewer标签可见性
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 5s
Test / unit-test (push) Successful in 5s
PR Preview / teardown-preview (pull_request) Successful in 13s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 51s
新增14个单元测试:
- 拼音匹配: mlk→麦卢卡、tx→檀香等11个用例
- viewer标签可见性: 只看自己diary标签、不看公共标签
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 13:43:15 +00:00 |
|
|
|
b58ba4e99f
|
test: PR#28测试覆盖 — 用户名大小写、一次改名、自动翻译、去重
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Successful in 13s
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 6s
Test / e2e-test (push) Successful in 49s
单元测试274个(新增18个):
- recipeNameEn额外用例、oilEn翻译、用户名大小写匹配、改名守卫
E2E新增:
- 注册大小写去重、登录大小写匹配、一次改名+拒绝二次
- 配方自动翻译、改名重翻译、删除用户转移配方
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 11:55:02 +00:00 |
|
|
|
e0ee1cba8c
|
test: 补充recipeNameEn翻译、重复精油、改名重翻译、去重跳过测试
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Successful in 14s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 53s
单元测试256个全部通过(新增14个):
- recipeNameEn: 11个翻译测试
- 重复精油检查: 3个
后端: 补充"缓解"翻译词条
E2E: 改名重翻译、删除用户去重跳过
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-12 14:07:09 +00:00 |
|
|
|
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 |
|