fix: 搜索过滤、拼音匹配、清除图片、滑动切换、通知已读 #18

Merged
fam merged 7 commits from fix/search-swipe-notify into main 2026-04-09 21:31:26 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 80397ec7ca - Show all commits

View File

@@ -25,7 +25,7 @@ describe('Oil Data Integrity', () => {
const ppd = oil.bottle_price / oil.drop_count
expect(ppd).to.be.a('number')
expect(ppd).to.be.gte(0)
expect(ppd).to.be.lte(100) // sanity check: no oil costs >100 per drop
expect(ppd).to.be.lte(300) // sanity check: some premium oils can cost >100 per drop
})
})
})

View File

@@ -45,7 +45,7 @@ describe('Recipe Detail', () => {
cy.get('.recipe-card').first().click()
dismissModals()
cy.get('.detail-overlay').should('exist')
cy.get('button').contains(/✕|关闭/).first().click()
cy.get('.detail-close-btn').first().click({ force: true })
cy.get('.recipe-card').should('be.visible')
})