diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 3bd95c9..94a25f7 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,6 +2,5 @@ - \ No newline at end of file diff --git a/cypress/e2e/需求计划页面是否可用.cy.js b/cypress/e2e/需求计划页面是否可用.cy.js index 662b713..f747c1a 100644 --- a/cypress/e2e/需求计划页面是否可用.cy.js +++ b/cypress/e2e/需求计划页面是否可用.cy.js @@ -1,4 +1,12 @@ describe('隆基系统全部页面验证', () => { + // 在所有测试开始前清除localStorage + beforeEach(() => { + // 清除localStorage + cy.window().then((win) => { + win.localStorage.clear(); + }); + }); + // 格式化时间的辅助函数 const formatTime = (date) => { return date.toLocaleString('zh-CN', { diff --git a/cypress/reports/report-20250218171948/UAT-test-report-20250218171948.html b/cypress/reports/report-20250218171948/UAT-test-report-20250218171948.html new file mode 100644 index 0000000..d74e410 --- /dev/null +++ b/cypress/reports/report-20250218171948/UAT-test-report-20250218171948.html @@ -0,0 +1,497 @@ + + + + + + 系统页面可用性测试报告 + + + +

系统页面可用性测试报告

+
+

测试摘要

+

测试环境: UAT

+

总页面数: 6

+

总Tab页数: 49

+

失败页面数: 0

+

开始时间: 2025/02/18 17:14:28

+

结束时间: 2025/02/18 17:19:48

+

总耗时: 320.00秒

+
+ + + +

详细测试结果

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
页面名称开始时间Tab页名称Tab开始时间Tab结束时间加载时长(秒)状态
主数据2025/02/18 17:15:03无Tab页
主数据 > 基地2025/02/18 17:15:04工厂主数据2025/02/18 17:15:042025/02/18 17:15:084.14success
工厂供货关系-运输成本2025/02/18 17:15:082025/02/18 17:15:112.83success
工厂供货关系-物流SLA2025/02/18 17:15:122025/02/18 17:15:152.83success
工厂供货关系-货源优先级2025/02/18 17:15:162025/02/18 17:15:192.83success
基地认证2025/02/18 17:15:202025/02/18 17:15:232.65success
产品认证2025/02/18 17:15:242025/02/18 17:15:262.35success
组件车间信息2025/02/18 17:15:272025/02/18 17:15:302.80success
工厂区域2025/02/18 17:15:312025/02/18 17:15:342.80success
工厂类型分配2025/02/18 17:15:352025/02/18 17:15:394.08success
法人认证2025/02/18 17:15:402025/02/18 17:15:455.20success
法人和工厂关系2025/02/18 17:15:462025/02/18 17:15:515.02success
法人产品认证2025/02/18 17:15:522025/02/18 17:15:585.64success
法人信息2025/02/18 17:15:592025/02/18 17:16:056.45success
工厂质量专控2025/02/18 17:16:062025/02/18 17:16:103.49success
逻辑子库2025/02/18 17:16:112025/02/18 17:16:142.97success
组件基地电池子库2025/02/18 17:16:152025/02/18 17:16:183.37success
主数据 > 线体2025/02/18 17:16:22工厂线体2025/02/18 17:16:222025/02/18 17:16:274.55success
线体可生产产品2025/02/18 17:16:272025/02/18 17:16:313.60success
含改造爬坡线体标准产能对象产能2025/02/18 17:16:322025/02/18 17:16:386.00success
线体产品与标准产品产能折算率2025/02/18 17:16:392025/02/18 17:16:455.95success
线体工时日历2025/02/18 17:16:462025/02/18 17:16:515.50success
线体可用产能2025/02/18 17:16:522025/02/18 17:16:585.77success
线体状态初始化2025/02/18 17:16:592025/02/18 17:17:034.04success
线体产品产能2025/02/18 17:17:042025/02/18 17:17:094.90success
线体最后生产状态获取2025/02/18 17:17:102025/02/18 17:17:165.47success
可选基地异常日志2025/02/18 17:17:172025/02/18 17:17:214.06success
线体标准产能对象产能2025/02/18 17:17:222025/02/18 17:17:296.83success
线体可用产能(不含改造爬坡)2025/02/18 17:17:302025/02/18 17:17:354.78success
改造爬坡曲线2025/02/18 17:17:362025/02/18 17:17:382.48success
车间满产参数2025/02/18 17:17:392025/02/18 17:17:433.39success
主数据 > 产品2025/02/18 17:17:48计划对象2025/02/18 17:17:482025/02/18 17:17:568.31success
计划对象和产品编码(10位)映射关系2025/02/18 17:17:562025/02/18 17:18:014.63success
功率对象2025/02/18 17:18:022025/02/18 17:18:075.59success
组件类型-组件结构2025/02/18 17:18:082025/02/18 17:18:123.27success
产能对象2025/02/18 17:18:132025/02/18 17:18:196.29success
产品替代关系2025/02/18 17:18:202025/02/18 17:18:254.81success
产品替代关系(建议)2025/02/18 17:18:262025/02/18 17:18:326.12success
维护电池工艺2025/02/18 17:18:332025/02/18 17:18:373.73success
组件加工成本2025/02/18 17:18:382025/02/18 17:18:445.86success
组件产品数据2025/02/18 17:18:452025/02/18 17:18:504.93success
综合良率2025/02/18 17:18:512025/02/18 17:18:543.29success
主数据 > 关键物料2025/02/18 17:18:59关键物料定义2025/02/18 17:18:592025/02/18 17:19:044.68success
物料-所属关键物料2025/02/18 17:19:042025/02/18 17:19:095.14success
约束物料2025/02/18 17:19:102025/02/18 17:19:144.01success
组件BOM2025/02/18 17:19:152025/02/18 17:19:194.40success
电池平均功率2025/02/18 17:19:202025/02/18 17:19:243.41success
电池约束物料2025/02/18 17:19:252025/02/18 17:19:294.31success
主数据 > 单位2025/02/18 17:19:34单位2025/02/18 17:19:342025/02/18 17:19:405.89success
单位转换2025/02/18 17:19:402025/02/18 17:19:443.79success
+ + \ No newline at end of file diff --git a/cypress/reports/report-20250218171948/test-summary-20250218171948.json b/cypress/reports/report-20250218171948/test-summary-20250218171948.json new file mode 100644 index 0000000..dcfe6e9 --- /dev/null +++ b/cypress/reports/report-20250218171948/test-summary-20250218171948.json @@ -0,0 +1,7 @@ +{ + "totalPages": 6, + "totalTabs": 49, + "failedCount": 0, + "startTime": "2025/02/18 17:14:28", + "endTime": "2025/02/18 17:19:48" +} \ No newline at end of file diff --git a/cypress/reports/report-20250218173919/UAT-test-report-20250218173919.html b/cypress/reports/report-20250218173919/UAT-test-report-20250218173919.html new file mode 100644 index 0000000..a30e18b --- /dev/null +++ b/cypress/reports/report-20250218173919/UAT-test-report-20250218173919.html @@ -0,0 +1,69 @@ + + + + + + 系统页面可用性测试报告 + + + +

系统页面可用性测试报告

+
+

测试摘要

+

测试环境: UAT

+

总页面数: 1

+

总Tab页数: 2

+

失败页面数: 0

+

开始时间: 2025/02/18 17:38:29

+

结束时间: 2025/02/18 17:39:19

+

总耗时: 50.00秒

+
+ + + +

详细测试结果

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
页面名称开始时间Tab页名称Tab开始时间Tab结束时间加载时长(秒)状态
ATP查询2025/02/18 17:39:06ATP查询2025/02/18 17:39:072025/02/18 17:39:113.79success
订单_计划对象_功率对象2025/02/18 17:39:112025/02/18 17:39:154.82success
+ + \ No newline at end of file diff --git a/cypress/reports/report-20250218173919/test-summary-20250218173919.json b/cypress/reports/report-20250218173919/test-summary-20250218173919.json new file mode 100644 index 0000000..1e7820c --- /dev/null +++ b/cypress/reports/report-20250218173919/test-summary-20250218173919.json @@ -0,0 +1,7 @@ +{ + "totalPages": 1, + "totalTabs": 2, + "failedCount": 0, + "startTime": "2025/02/18 17:38:29", + "endTime": "2025/02/18 17:39:19" +} \ No newline at end of file