test: 更新单元测试覆盖智能识别新功能和share_recipe日志
All checks were successful
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
All checks were successful
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>
This commit was merged in pull request #26.
This commit is contained in:
@@ -41,7 +41,7 @@ describe('Audit Log Advanced', () => {
|
||||
const recipeId = createRes.body.id
|
||||
// Check audit log
|
||||
cy.request({ url: '/api/audit-log?limit=5&offset=0', headers: authHeaders }).then(res => {
|
||||
const entry = res.body.find(e => e.action === 'create_recipe' && e.target_name === 'Cypress审计测试')
|
||||
const entry = res.body.find(e => e.action === 'share_recipe' && e.target_name === 'Cypress审计测试')
|
||||
expect(entry).to.exist
|
||||
})
|
||||
// Cleanup
|
||||
|
||||
Reference in New Issue
Block a user