dev #2

Merged
hera merged 40 commits from dev into main 2026-04-07 22:12:01 +00:00
Showing only changes of commit f89cfff20b - Show all commits

View File

@@ -59,16 +59,18 @@ describe('Recipe Detail - Editor (Admin)', () => {
cy.get('.recipe-card', { timeout: 10000 }).should('have.length.gte', 1)
})
it('shows editable ingredients table directly', () => {
it('shows editable ingredients table in editor tab', () => {
cy.get('.recipe-card').first().click()
cy.wait(500)
cy.get('.oil-select, .drops-input').should('exist')
cy.contains('编辑').click()
cy.get('.editor-select, .editor-drops').should('exist')
})
it('shows add ingredient button', () => {
it('shows add ingredient button in editor tab', () => {
cy.get('.recipe-card').first().click()
cy.wait(500)
cy.contains('加精油').should('exist')
cy.contains('编辑').click()
cy.contains('添加精油').should('exist')
})
it('shows export image button', () => {