diff --git a/frontend/cypress/e2e/kit-export.cy.js b/frontend/cypress/e2e/kit-export.cy.js index 03eac9b..6b3e6fc 100644 --- a/frontend/cypress/e2e/kit-export.cy.js +++ b/frontend/cypress/e2e/kit-export.cy.js @@ -80,7 +80,7 @@ describe('Kit Export Feature', () => { cy.get('.kit-card').first().click() cy.get('.recipe-table', { timeout: 5000 }).within(() => { cy.contains('th', '套装成本').should('exist') - cy.contains('th', '原价成本').should('exist') + cy.contains('th', '单买成本').should('exist') cy.contains('th', '售价').should('exist') cy.contains('th', '利润率').should('exist') cy.contains('th', '可做次数').should('exist') @@ -107,7 +107,7 @@ describe('Kit Export Feature', () => { cy.get('.kit-card').first().click() cy.get('.recipe-table tbody tr', { timeout: 5000 }).each($row => { const cells = $row.find('td') - // td[1] = 可做次数, td[2] = 套装成本, td[3] = 原价成本 + // td[1] = 可做次数, td[2] = 套装成本, td[3] = 单买成本 const kitCostText = cells.eq(2).text().replace(/[¥,\s]/g, '') const origCostText = cells.eq(3).text().replace(/[¥,\s]/g, '') const kitCost = parseFloat(kitCostText)