fix: 搜索过滤、拼音匹配、清除图片、滑动切换、通知已读 #18
@@ -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
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -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')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user