From ccf96d54cd6ca397bf3fb8d2da33777b27cce1e5 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Tue, 14 Apr 2026 13:22:07 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20e2e=E6=B5=8B=E8=AF=95=E5=8E=9F=E4=BB=B7?= =?UTF-8?q?=E6=88=90=E6=9C=AC=E2=86=92=E5=8D=95=E4=B9=B0=E6=88=90=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/cypress/e2e/kit-export.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)