Commit 9b6b3ba6 authored by Cai Wei's avatar Cai Wei

feat(*): 更新测试脚本

parent b94630c6
Pipeline #1334 failed
......@@ -39,7 +39,7 @@ describe('template spec', () => {
cy.get('[data-testid="suspend-flag-radio-during"] > .el-radio__input > .el-radio__original').check();
cy.get('[data-testid="suspend-flag-radio-all"] > .el-radio__label').click();
cy.get('[data-testid="suspend-flag-radio-all"] > .el-radio__input > .el-radio__original').check();
cy.get(':nth-child(1) > .el-table_3_column_31 > .cell > [data-testid="suspend-action-link"]').click();
cy.get('[data-testid="cell-0-operate"] > [data-testid="suspend-action-link"]').click();
cy.get('.el-dialog__headerbtn > .el-icon > svg').click();
/* ==== End Cypress Studio ==== */
});
......
......@@ -33,11 +33,11 @@ describe('template spec', () => {
cy.get('#device-type-option-2').click();
cy.get('[data-testid="my-agency-search-button"] > span').click();
cy.get('[data-testid="my-agency-reset-button"]').click();
cy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid="my-agency-process-button"]').click();
cy.get('[data-testid="cell-0-operation"] > [data-testid="my-agency-process-button"]').click();
cy.get('.el-dialog__headerbtn > .el-icon > svg').click();
cy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid="my-agency-dispatch-button"]').click();
cy.get('[data-testid="cell-0-operation"] > [data-testid="my-agency-dispatch-button"]').click();
cy.get('[data-testid="assign-dialog"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg > path').click();
cy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid="my-agency-change-bag-button"]').click();
cy.get('[data-testid="cell-0-operation"] > [data-testid="my-agency-change-bag-button"]').click();
cy.get('[data-testid="bag-dialog"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg').click();
cy.get('[data-testid="menu-item-my-loop/myDone"] > span').click();
cy.get('[data-testid="event-name-input"]').clear('t');
......
......@@ -30,7 +30,7 @@ describe('template spec', () => {
cy.get('#equipment-device-type-option-2').click();
cy.get('[data-testid="equipment-search-button"] > span').click();
cy.get('[data-testid="equipment-reset-button"] > span').click();
cy.get(':nth-child(1) > .el-table_1_column_11 > .cell > [data-testid="equipment-params-button"] > span').click();
cy.get('[data-testid="cell-0-operation"] > [data-testid="equipment-params-button"] > span').click();
cy.get('[data-testid="confirm-button"]').click();
cy.get('[data-testid="menu-item-management/suspend-management"] > span').click();
cy.get('[data-testid="project-select"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();
......@@ -56,7 +56,7 @@ describe('template spec', () => {
cy.get('#reason-category-option-3').click();
cy.get('[data-testid="search-button"]').click();
cy.get('[data-testid="reset-button"] > span').click();
cy.get(':nth-child(1) > .el-table_2_column_24 > .cell > [data-testid="suspend-alarm-link"]').click();
cy.get('[data-testid="cell-0-operate"] > [data-testid="suspend-alarm-link"]').click();
cy.get('[data-testid="menu-item-management/suspend-management"] > span').click();
/* ==== End Cypress Studio ==== */
});
......
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-05T09:13:46.973Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:13:58.243Z&quot;,&quot;duration&quot;:11270,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;a73c3450-f7e8-4f0e-9f98-93b74a54f33d&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM告警总览.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM告警总览.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;f84ffb0e-4f65-4078-a603-bcabe400bb80&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM告警总览&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM告警总览&quot;,&quot;duration&quot;:11238,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;slow&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-alerts\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;event-name-input\&quot;]&#x27;).clear(&#x27;t&#x27;);\ncy.get(&#x27;[data-testid=\&quot;event-name-input\&quot;]&#x27;).type(&#x27;提升阀&#x27;);\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;location-input\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;location-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;location-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;duster-name-input\&quot;]&#x27;).clear(&#x27;1&#x27;);\ncy.get(&#x27;[data-testid=\&quot;duster-name-input\&quot;]&#x27;).type(&#x27;1#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-option-200001\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-option-200002\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-option-200003\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-device-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-alerts\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-during\&quot;] &gt; .el-radio__label&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-during\&quot;] &gt; .el-radio__input &gt; .el-radio__original&#x27;).check();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-all\&quot;] &gt; .el-radio__label&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-all\&quot;] &gt; .el-radio__input &gt; .el-radio__original&#x27;).check();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_3_column_31 &gt; .cell &gt; [data-testid=\&quot;suspend-action-link\&quot;]&#x27;).click();\ncy.get(&#x27;.el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;29a1c045-c66f-4807-82a3-8bb3153ba7b4&quot;,&quot;parentUUID&quot;:&quot;f84ffb0e-4f65-4078-a603-bcabe400bb80&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;29a1c045-c66f-4807-82a3-8bb3153ba7b4&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:11238,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171358.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171358.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-05T09:14:00.073Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:14:09.396Z&quot;,&quot;duration&quot;:9323,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;82694328-1203-46e6-a32c-d3b1c6b7394a&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM布袋周期.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM布袋周期.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;b51e75af-d83e-4a0f-9007-1d7619b8e67b&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM布袋周期&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM布袋周期&quot;,&quot;duration&quot;:9291,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-collectorList\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;collector-compart-input\&quot;]&#x27;).clear(&#x27;A&#x27;);\ncy.get(&#x27;[data-testid=\&quot;collector-compart-input\&quot;]&#x27;).type(&#x27;A_17&#x27;);\ncy.get(&#x27;[data-testid=\&quot;collector-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;collector-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;collector-duster-name-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;collector-duster-name-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;collector-search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;collector-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;collector-analysis-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;.el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;3d9d0cab-a514-4bbf-b463-f634a49fddbd&quot;,&quot;parentUUID&quot;:&quot;b51e75af-d83e-4a0f-9007-1d7619b8e67b&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;3d9d0cab-a514-4bbf-b463-f634a49fddbd&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:9291,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171409.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171409.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-05T09:14:46.055Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:15:20.726Z&quot;,&quot;duration&quot;:34671,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;dd6ba9fa-ac32-444c-89d5-d4ad9e119028&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM除尘器总览.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM除尘器总览.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;d2a3fe02-0772-494f-ae24-d4367f14ee75&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM除尘器总览&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM除尘器总览&quot;,&quot;duration&quot;:5418,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zo&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear();\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-leak-alert-card\&quot;] &gt; .title&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-close-loop-card\&quot;] &gt; img&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-production-line-select\&quot;] &gt; .el-select__wrapper&#x27;).click();\ncy.get(&#x27;#production-line-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-device-name-input\&quot;]&#x27;).clear(&#x27;1&#x27;);\ncy.get(&#x27;[data-testid=\&quot;dust-device-name-input\&quot;]&#x27;).type(&#x27;1#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;dust-search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-add-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cancel-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;compartment-count-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dialog-footer\&quot;] &gt; [data-testid=\&quot;confirm-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;valve-count-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;save-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;.status-matrix &gt; :nth-child(1) &gt; :nth-child(1)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_7_column_65 &gt; .cell &gt; [data-testid=\&quot;dust-view-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_8_column_75 &gt; .cell &gt; [data-testid=\&quot;dust-edit-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;confirm-button\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;aa19fb55-d715-4105-be1a-fa564bf05668&quot;,&quot;parentUUID&quot;:&quot;d2a3fe02-0772-494f-ae24-d4367f14ee75&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;aa19fb55-d715-4105-be1a-fa564bf05668&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:5418,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171520.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171520.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-05T09:15:22.566Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:15:35.272Z&quot;,&quot;duration&quot;:12706,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;6fc57a6d-40df-4a99-ae1f-3d3b36374fe9&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM除尘器监控.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM除尘器监控.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;4dd84c5d-b1fa-4c2a-b2bc-834a46300a33&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM除尘器监控&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM除尘器监控&quot;,&quot;duration&quot;:12674,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;slow&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\ncy.get(&#x27;.el-select__wrapper&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;duster-option-ZH-ZL-1GL-008\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;compartment-health-matrix\&quot;] &gt; :nth-child(1)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;compartment-health-matrix\&quot;] &gt; :nth-child(1) &gt; :nth-child(1)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-monitor\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;735419d1-1a65-4a5c-b18f-302dadca9c7d&quot;,&quot;parentUUID&quot;:&quot;4dd84c5d-b1fa-4c2a-b2bc-834a46300a33&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;735419d1-1a65-4a5c-b18f-302dadca9c7d&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:12674,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171535.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171535.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:0,&quot;pending&quot;:0,&quot;failures&quot;:1,&quot;start&quot;:&quot;2025-09-05T09:15:37.082Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:16:33.426Z&quot;,&quot;duration&quot;:56344,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:0,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;9e154ce8-d8ec-4733-a4cf-5da52eadd210&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/generic-login.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/generic-login.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;34c50169-b1a9-4310-b894-85d2cf7ddf83&quot;,&quot;title&quot;:&quot;通用登录测试&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;应该能够成功登录&quot;,&quot;fullTitle&quot;:&quot;通用登录测试 应该能够成功登录&quot;,&quot;duration&quot;:15847,&quot;state&quot;:&quot;failed&quot;,&quot;pass&quot;:false,&quot;fail&quot;:true,&quot;pending&quot;:false,&quot;code&quot;:&quot;// 使用环境变量中的凭据登录\nconst username = Cypress.env(&#x27;username&#x27;);\nconst password = Cypress.env(&#x27;password&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(username);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(password);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\n// 验证登录成功(根据实际应用调整)\ncy.url().should(&#x27;not.include&#x27;, &#x27;/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;dashboard-container\&quot;]&#x27;).should(&#x27;be.visible&#x27;);&quot;,&quot;err&quot;:{&quot;message&quot;:&quot;AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid=\&quot;login-captcha-input\&quot;]`, but never found it.&quot;,&quot;estack&quot;:&quot;AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid=\&quot;login-captcha-input\&quot;]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/generic-login.cy.js:14:7)&quot;},&quot;uuid&quot;:&quot;63910def-2fad-4368-8a38-85530dae1956&quot;,&quot;parentUUID&quot;:&quot;34c50169-b1a9-4310-b894-85d2cf7ddf83&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[],&quot;failures&quot;:[&quot;63910def-2fad-4368-8a38-85530dae1956&quot;],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:15847,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171633.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171633.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:2,&quot;passes&quot;:2,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-05T09:16:35.288Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:16:46.675Z&quot;,&quot;duration&quot;:11387,&quot;testsRegistered&quot;:2,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;ce7493f3-9c1f-4ea0-8c76-e43389b35e93&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/spec.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/spec.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;e6ec1852-0456-4119-9328-e8f1c0cace39&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;test&quot;,&quot;fullTitle&quot;:&quot;template spec test&quot;,&quot;duration&quot;:8842,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;z&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-collectorList\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-monitor\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;d0c58059-561d-40bb-a05e-03f3e52e51ec&quot;,&quot;parentUUID&quot;:&quot;e6ec1852-0456-4119-9328-e8f1c0cace39&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;test2&quot;,&quot;fullTitle&quot;:&quot;template spec test2&quot;,&quot;duration&quot;:2488,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zo&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__suffix &gt; .el-icon &gt; svg&#x27;).click();\ncy.get(&#x27;#production-line-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-search-button\&quot;] &gt; span&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;c6d665d5-ceb5-4db0-ae13-d06a9dffb1c9&quot;,&quot;parentUUID&quot;:&quot;e6ec1852-0456-4119-9328-e8f1c0cace39&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;d0c58059-561d-40bb-a05e-03f3e52e51ec&quot;,&quot;c6d665d5-ceb5-4db0-ae13-d06a9dffb1c9&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:11330,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171646.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171646.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
{
"stats": {
"suites": 1,
"tests": 2,
"passes": 2,
"pending": 0,
"failures": 0,
"start": "2025-09-05T09:16:35.288Z",
"end": "2025-09-05T09:16:46.675Z",
"duration": 11387,
"testsRegistered": 2,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false
},
"results": [
{
"uuid": "ce7493f3-9c1f-4ea0-8c76-e43389b35e93",
"title": "",
"fullFile": "cypress/e2e/spec.cy.js",
"file": "cypress/e2e/spec.cy.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "e6ec1852-0456-4119-9328-e8f1c0cace39",
"title": "template spec",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "test",
"fullTitle": "template spec test",
"timedOut": null,
"duration": 8842,
"state": "passed",
"speed": "medium",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/');\ncy.get('[data-testid=\"login-username-input\"]').clear('z');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').click();\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\ncy.get('[data-testid=\"menu-item-collectorList\"]').click();\ncy.get('[data-testid=\"menu-item-monitor\"] > span').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "d0c58059-561d-40bb-a05e-03f3e52e51ec",
"parentUUID": "e6ec1852-0456-4119-9328-e8f1c0cace39",
"isHook": false,
"skipped": false
},
{
"title": "test2",
"fullTitle": "template spec test2",
"timedOut": null,
"duration": 2488,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom');\ncy.get('[data-testid=\"login-username-input\"]').clear('zo');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').click();\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"dust-production-line-select\"] > .el-select__wrapper > .el-select__suffix > .el-icon > svg').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"dust-search-button\"] > span').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "c6d665d5-ceb5-4db0-ae13-d06a9dffb1c9",
"parentUUID": "e6ec1852-0456-4119-9328-e8f1c0cace39",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"d0c58059-561d-40bb-a05e-03f3e52e51ec",
"c6d665d5-ceb5-4db0-ae13-d06a9dffb1c9"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 11330,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
}
],
"meta": {
"mocha": {
"version": "7.0.1"
},
"mochawesome": {
"options": {
"quiet": false,
"reportFilename": "mochawesome",
"saveHtml": true,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false,
"code": true
},
"version": "7.1.3"
},
"marge": {
"options": {
"reportDir": "cypress/reports",
"overwrite": false,
"html": true,
"json": true,
"timestamp": "mmddyyyy_HHMMss",
"reportTitle": "Development Tests",
"reportPageTitle": "开发环境测试报告"
},
"version": "6.2.0"
}
}
}
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:25:51.206Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:25:55.409Z&quot;,&quot;duration&quot;:4203,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;fb65e0c2-f4c5-43c0-9948-958cdd8332bc&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM首页.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM首页.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;8e4725d5-1564-432b-894b-b6d597f7f00d&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM首页&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM首页&quot;,&quot;duration&quot;:4169,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zo&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dashboard\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;map-spot-0\&quot;] &gt; [data-testid=\&quot;spot-pulse\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;sidebar-menu\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dashboard\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;map-spot-1\&quot;] &gt; [data-testid=\&quot;spot-pulse\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dashboard\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;dd120b75-9731-4ca0-bb70-351241ac92c4&quot;,&quot;parentUUID&quot;:&quot;8e4725d5-1564-432b-894b-b6d597f7f00d&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;dd120b75-9731-4ca0-bb70-351241ac92c4&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:4169,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152555.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152555.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
......@@ -5,9 +5,9 @@
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-05T09:13:35.713Z",
"end": "2025-09-05T09:13:45.035Z",
"duration": 9322,
"start": "2025-09-08T07:25:51.206Z",
"end": "2025-09-08T07:25:55.409Z",
"duration": 4203,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
......@@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "d8f6eaca-1ce1-4f1a-9f22-1297946d306d",
"uuid": "fb65e0c2-f4c5-43c0-9948-958cdd8332bc",
"title": "",
"fullFile": "cypress/e2e/DC-TOM首页.cy.js",
"file": "cypress/e2e/DC-TOM首页.cy.js",
......@@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "388aca86-112a-4be7-b45f-cd18b0c19a33",
"uuid": "8e4725d5-1564-432b-894b-b6d597f7f00d",
"title": "template spec",
"fullFile": "",
"file": "",
......@@ -38,29 +38,29 @@
"title": "DC-TOM首页",
"fullTitle": "template spec DC-TOM首页",
"timedOut": null,
"duration": 9289,
"duration": 4169,
"state": "passed",
"speed": "medium",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zo');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"] > span').click();\ncy.get('[data-testid=\"menu-item-dashboard\"] > span').click();\ncy.get('[data-testid=\"map-spot-0\"] > [data-testid=\"spot-pulse\"]').click();\ncy.get('[data-testid=\"sidebar-menu\"]').click();\ncy.get('[data-testid=\"menu-item-dashboard\"]').click();\ncy.get('[data-testid=\"map-spot-1\"] > [data-testid=\"spot-pulse\"]').click();\ncy.get('[data-testid=\"menu-item-dashboard\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "9107db13-f30e-481c-a84b-89c1a7b80a52",
"parentUUID": "388aca86-112a-4be7-b45f-cd18b0c19a33",
"uuid": "dd120b75-9731-4ca0-bb70-351241ac92c4",
"parentUUID": "8e4725d5-1564-432b-894b-b6d597f7f00d",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"9107db13-f30e-481c-a84b-89c1a7b80a52"
"dd120b75-9731-4ca0-bb70-351241ac92c4"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 9289,
"duration": 4169,
"root": false,
"rootEmpty": false,
"_timeout": 2000
......
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:0,&quot;pending&quot;:0,&quot;failures&quot;:1,&quot;start&quot;:&quot;2025-09-08T07:25:57.349Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:27:00.076Z&quot;,&quot;duration&quot;:62727,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:0,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;2f0e7d7f-8ef8-4788-ad9a-59151867cf32&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM告警总览.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM告警总览.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;97eb7d0b-d060-4754-b99d-a12ff8d2b85e&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM告警总览&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM告警总览&quot;,&quot;duration&quot;:20761,&quot;state&quot;:&quot;failed&quot;,&quot;pass&quot;:false,&quot;fail&quot;:true,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-alerts\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;event-name-input\&quot;]&#x27;).clear(&#x27;t&#x27;);\ncy.get(&#x27;[data-testid=\&quot;event-name-input\&quot;]&#x27;).type(&#x27;提升阀&#x27;);\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;location-input\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;location-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;location-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;duster-name-input\&quot;]&#x27;).clear(&#x27;1&#x27;);\ncy.get(&#x27;[data-testid=\&quot;duster-name-input\&quot;]&#x27;).type(&#x27;1#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#device-type-option-0&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#device-type-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#device-type-option-2&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-device-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-alerts\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-during\&quot;] &gt; .el-radio__label&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-during\&quot;] &gt; .el-radio__input &gt; .el-radio__original&#x27;).check();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-all\&quot;] &gt; .el-radio__label&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;suspend-flag-radio-all\&quot;] &gt; .el-radio__input &gt; .el-radio__original&#x27;).check();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_3_column_31 &gt; .cell &gt; [data-testid=\&quot;suspend-action-link\&quot;]&#x27;).click();\ncy.get(&#x27;.el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{&quot;message&quot;:&quot;AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) &gt; .el-table_3_column_31 &gt; .cell &gt; [data-testid=\&quot;suspend-action-link\&quot;]`, but never found it.&quot;,&quot;estack&quot;:&quot;AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) &gt; .el-table_3_column_31 &gt; .cell &gt; [data-testid=\&quot;suspend-action-link\&quot;]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM告警总览.cy.js:42:7)&quot;},&quot;uuid&quot;:&quot;f2194bfd-a186-4282-a2e1-265f74e02f98&quot;,&quot;parentUUID&quot;:&quot;97eb7d0b-d060-4754-b99d-a12ff8d2b85e&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[],&quot;failures&quot;:[&quot;f2194bfd-a186-4282-a2e1-265f74e02f98&quot;],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:20761,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152700.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152700.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
......@@ -2,14 +2,14 @@
"stats": {
"suites": 1,
"tests": 1,
"passes": 1,
"passes": 0,
"pending": 0,
"failures": 0,
"start": "2025-09-05T09:13:46.973Z",
"end": "2025-09-05T09:13:58.243Z",
"duration": 11270,
"failures": 1,
"start": "2025-09-08T07:25:57.349Z",
"end": "2025-09-08T07:27:00.076Z",
"duration": 62727,
"testsRegistered": 1,
"passPercent": 100,
"passPercent": 0,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
......@@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "a73c3450-f7e8-4f0e-9f98-93b74a54f33d",
"uuid": "2f0e7d7f-8ef8-4788-ad9a-59151867cf32",
"title": "",
"fullFile": "cypress/e2e/DC-TOM告警总览.cy.js",
"file": "cypress/e2e/DC-TOM告警总览.cy.js",
......@@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "f84ffb0e-4f65-4078-a603-bcabe400bb80",
"uuid": "97eb7d0b-d060-4754-b99d-a12ff8d2b85e",
"title": "template spec",
"fullFile": "",
"file": "",
......@@ -38,29 +38,33 @@
"title": "DC-TOM告警总览",
"fullTitle": "template spec DC-TOM告警总览",
"timedOut": null,
"duration": 11238,
"state": "passed",
"speed": "slow",
"pass": true,
"fail": false,
"duration": 20761,
"state": "failed",
"speed": null,
"pass": false,
"fail": true,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zongheng_admin');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"] > span').click();\ncy.get('[data-testid=\"menu-item-alerts\"] > span').click();\ncy.get('[data-testid=\"event-name-input\"]').clear('t');\ncy.get('[data-testid=\"event-name-input\"]').type('提升阀');\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"location-input\"]').click();\ncy.get('[data-testid=\"location-input\"]').clear('2');\ncy.get('[data-testid=\"location-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"duster-name-input\"]').clear('1');\ncy.get('[data-testid=\"duster-name-input\"]').type('1#除尘系统');\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"device-type-option-200001\"]').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"device-type-option-200002\"]').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"device-type-option-200003\"]').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"suspend-device-button\"] > span').click();\ncy.get('[data-testid=\"menu-item-alerts\"]').click();\ncy.get('[data-testid=\"suspend-flag-radio-during\"] > .el-radio__label').click();\ncy.get('[data-testid=\"suspend-flag-radio-during\"] > .el-radio__input > .el-radio__original').check();\ncy.get('[data-testid=\"suspend-flag-radio-all\"] > .el-radio__label').click();\ncy.get('[data-testid=\"suspend-flag-radio-all\"] > .el-radio__input > .el-radio__original').check();\ncy.get(':nth-child(1) > .el-table_3_column_31 > .cell > [data-testid=\"suspend-action-link\"]').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "29a1c045-c66f-4807-82a3-8bb3153ba7b4",
"parentUUID": "f84ffb0e-4f65-4078-a603-bcabe400bb80",
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zongheng_admin');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"] > span').click();\ncy.get('[data-testid=\"menu-item-alerts\"] > span').click();\ncy.get('[data-testid=\"event-name-input\"]').clear('t');\ncy.get('[data-testid=\"event-name-input\"]').type('提升阀');\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"location-input\"]').click();\ncy.get('[data-testid=\"location-input\"]').clear('2');\ncy.get('[data-testid=\"location-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"duster-name-input\"]').clear('1');\ncy.get('[data-testid=\"duster-name-input\"]').type('1#除尘系统');\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-0').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-1').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-2').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"suspend-device-button\"] > span').click();\ncy.get('[data-testid=\"menu-item-alerts\"]').click();\ncy.get('[data-testid=\"suspend-flag-radio-during\"] > .el-radio__label').click();\ncy.get('[data-testid=\"suspend-flag-radio-during\"] > .el-radio__input > .el-radio__original').check();\ncy.get('[data-testid=\"suspend-flag-radio-all\"] > .el-radio__label').click();\ncy.get('[data-testid=\"suspend-flag-radio-all\"] > .el-radio__input > .el-radio__original').check();\ncy.get(':nth-child(1) > .el-table_3_column_31 > .cell > [data-testid=\"suspend-action-link\"]').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\n/* ==== End Cypress Studio ==== */",
"err": {
"message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_3_column_31 > .cell > [data-testid=\"suspend-action-link\"]`, but never found it.",
"estack": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_3_column_31 > .cell > [data-testid=\"suspend-action-link\"]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM告警总览.cy.js:42:7)",
"diff": null
},
"uuid": "f2194bfd-a186-4282-a2e1-265f74e02f98",
"parentUUID": "97eb7d0b-d060-4754-b99d-a12ff8d2b85e",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"29a1c045-c66f-4807-82a3-8bb3153ba7b4"
"passes": [],
"failures": [
"f2194bfd-a186-4282-a2e1-265f74e02f98"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 11238,
"duration": 20761,
"root": false,
"rootEmpty": false,
"_timeout": 2000
......
......@@ -5,9 +5,9 @@
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-05T09:14:00.073Z",
"end": "2025-09-05T09:14:09.396Z",
"duration": 9323,
"start": "2025-09-08T07:27:02.034Z",
"end": "2025-09-08T07:27:06.094Z",
"duration": 4060,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
......@@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "82694328-1203-46e6-a32c-d3b1c6b7394a",
"uuid": "46c00aa5-0650-4929-9351-15df11e14e94",
"title": "",
"fullFile": "cypress/e2e/DC-TOM布袋周期.cy.js",
"file": "cypress/e2e/DC-TOM布袋周期.cy.js",
......@@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "b51e75af-d83e-4a0f-9007-1d7619b8e67b",
"uuid": "a9302c4b-4e6c-40dd-8ed6-faf97dce605f",
"title": "template spec",
"fullFile": "",
"file": "",
......@@ -38,29 +38,29 @@
"title": "DC-TOM布袋周期",
"fullTitle": "template spec DC-TOM布袋周期",
"timedOut": null,
"duration": 9291,
"duration": 3992,
"state": "passed",
"speed": "medium",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zongheng_admin');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"] > span').click();\ncy.get('[data-testid=\"menu-item-collectorList\"] > span').click();\ncy.get('[data-testid=\"collector-compart-input\"]').clear('A');\ncy.get('[data-testid=\"collector-compart-input\"]').type('A_17');\ncy.get('[data-testid=\"collector-search-button\"] > span').click();\ncy.get('[data-testid=\"collector-reset-button\"] > span').click();\ncy.get('[data-testid=\"collector-duster-name-input\"]').clear('2');\ncy.get('[data-testid=\"collector-duster-name-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"collector-search-button\"]').click();\ncy.get('[data-testid=\"collector-reset-button\"] > span').click();\ncy.get('[data-testid=\"collector-analysis-button\"] > span').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "3d9d0cab-a514-4bbf-b463-f634a49fddbd",
"parentUUID": "b51e75af-d83e-4a0f-9007-1d7619b8e67b",
"uuid": "d9615073-4c79-4d4a-bd8a-937f4f828a1d",
"parentUUID": "a9302c4b-4e6c-40dd-8ed6-faf97dce605f",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"3d9d0cab-a514-4bbf-b463-f634a49fddbd"
"d9615073-4c79-4d4a-bd8a-937f4f828a1d"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 9291,
"duration": 3992,
"root": false,
"rootEmpty": false,
"_timeout": 2000
......
This diff is collapsed.
This diff is collapsed.
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:29:17.007Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:29:25.275Z&quot;,&quot;duration&quot;:8268,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;9a3d6a1d-e23a-479c-be90-469c1d029f46&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM除尘器总览.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM除尘器总览.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;15b35d39-c949-4962-916a-439fc99ad445&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM除尘器总览&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM除尘器总览&quot;,&quot;duration&quot;:8232,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zo&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear();\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-leak-alert-card\&quot;] &gt; .title&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-close-loop-card\&quot;] &gt; img&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-production-line-select\&quot;] &gt; .el-select__wrapper&#x27;).click();\ncy.get(&#x27;#production-line-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-device-name-input\&quot;]&#x27;).clear(&#x27;1&#x27;);\ncy.get(&#x27;[data-testid=\&quot;dust-device-name-input\&quot;]&#x27;).type(&#x27;1#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;dust-search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dust-add-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cancel-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;compartment-count-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;dialog-footer\&quot;] &gt; [data-testid=\&quot;confirm-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;valve-count-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;save-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;.status-matrix &gt; :nth-child(1) &gt; :nth-child(1)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cell-0-operation\&quot;] &gt; [data-testid=\&quot;dust-view-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-dust-overview\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cell-0-operation\&quot;] &gt; [data-testid=\&quot;dust-edit-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;confirm-button\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;9e087a58-4e5a-464a-99ca-a45225d30a8c&quot;,&quot;parentUUID&quot;:&quot;15b35d39-c949-4962-916a-439fc99ad445&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;9e087a58-4e5a-464a-99ca-a45225d30a8c&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:8232,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152925.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152925.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
......@@ -5,9 +5,9 @@
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-05T09:14:46.055Z",
"end": "2025-09-05T09:15:20.726Z",
"duration": 34671,
"start": "2025-09-08T07:29:17.007Z",
"end": "2025-09-08T07:29:25.275Z",
"duration": 8268,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
......@@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "dd6ba9fa-ac32-444c-89d5-d4ad9e119028",
"uuid": "9a3d6a1d-e23a-479c-be90-469c1d029f46",
"title": "",
"fullFile": "cypress/e2e/DC-TOM除尘器总览.cy.js",
"file": "cypress/e2e/DC-TOM除尘器总览.cy.js",
......@@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "d2a3fe02-0772-494f-ae24-d4367f14ee75",
"uuid": "15b35d39-c949-4962-916a-439fc99ad445",
"title": "template spec",
"fullFile": "",
"file": "",
......@@ -38,29 +38,29 @@
"title": "DC-TOM除尘器总览",
"fullTitle": "template spec DC-TOM除尘器总览",
"timedOut": null,
"duration": 5418,
"duration": 8232,
"state": "passed",
"speed": "medium",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zo');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear();\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"dust-leak-alert-card\"] > .title').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"]').click();\ncy.get('[data-testid=\"dust-close-loop-card\"] > img').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"dust-production-line-select\"] > .el-select__wrapper').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"dust-search-button\"] > span').click();\ncy.get('[data-testid=\"dust-reset-button\"] > span').click();\ncy.get('[data-testid=\"dust-device-name-input\"]').clear('1');\ncy.get('[data-testid=\"dust-device-name-input\"]').type('1#除尘系统');\ncy.get('[data-testid=\"dust-search-button\"]').click();\ncy.get('[data-testid=\"dust-add-button\"] > span').click();\ncy.get('[data-testid=\"cancel-button\"]').click();\ncy.get('[data-testid=\"compartment-count-link\"]').click();\ncy.get('[data-testid=\"dialog-footer\"] > [data-testid=\"confirm-button\"] > span').click();\ncy.get('[data-testid=\"valve-count-link\"]').click();\ncy.get('[data-testid=\"save-button\"] > span').click();\ncy.get('.status-matrix > :nth-child(1) > :nth-child(1)').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get(':nth-child(1) > .el-table_7_column_65 > .cell > [data-testid=\"dust-view-button\"]').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get(':nth-child(1) > .el-table_8_column_75 > .cell > [data-testid=\"dust-edit-button\"]').click();\ncy.get('[data-testid=\"confirm-button\"]').click();\n/* ==== End Cypress Studio ==== */",
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zo');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear();\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"dust-leak-alert-card\"] > .title').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"]').click();\ncy.get('[data-testid=\"dust-close-loop-card\"] > img').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"dust-production-line-select\"] > .el-select__wrapper').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"dust-search-button\"] > span').click();\ncy.get('[data-testid=\"dust-reset-button\"] > span').click();\ncy.get('[data-testid=\"dust-device-name-input\"]').clear('1');\ncy.get('[data-testid=\"dust-device-name-input\"]').type('1#除尘系统');\ncy.get('[data-testid=\"dust-search-button\"]').click();\ncy.get('[data-testid=\"dust-add-button\"] > span').click();\ncy.get('[data-testid=\"cancel-button\"]').click();\ncy.get('[data-testid=\"compartment-count-link\"]').click();\ncy.get('[data-testid=\"dialog-footer\"] > [data-testid=\"confirm-button\"] > span').click();\ncy.get('[data-testid=\"valve-count-link\"]').click();\ncy.get('[data-testid=\"save-button\"] > span').click();\ncy.get('.status-matrix > :nth-child(1) > :nth-child(1)').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"cell-0-operation\"] > [data-testid=\"dust-view-button\"]').click();\ncy.get('[data-testid=\"menu-item-dust-overview\"] > span').click();\ncy.get('[data-testid=\"cell-0-operation\"] > [data-testid=\"dust-edit-button\"]').click();\ncy.get('[data-testid=\"confirm-button\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "aa19fb55-d715-4105-be1a-fa564bf05668",
"parentUUID": "d2a3fe02-0772-494f-ae24-d4367f14ee75",
"uuid": "9e087a58-4e5a-464a-99ca-a45225d30a8c",
"parentUUID": "15b35d39-c949-4962-916a-439fc99ad445",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"aa19fb55-d715-4105-be1a-fa564bf05668"
"9e087a58-4e5a-464a-99ca-a45225d30a8c"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 5418,
"duration": 8232,
"root": false,
"rootEmpty": false,
"_timeout": 2000
......
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:29:27.217Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:29:31.614Z&quot;,&quot;duration&quot;:4397,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;b6948d52-272e-4d81-ac81-82ba4c8d275e&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/DC-TOM除尘器监控.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/DC-TOM除尘器监控.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;3c02a0ed-21d8-43b6-a665-73256a08f491&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;DC-TOM除尘器监控&quot;,&quot;fullTitle&quot;:&quot;template spec DC-TOM除尘器监控&quot;,&quot;duration&quot;:4325,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/admin/dctom/#/login&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).clear(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-username-input\&quot;]&#x27;).type(&#x27;zongheng_admin&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).clear(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-password-input\&quot;]&#x27;).type(&#x27;9%#F46vt&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).clear(&#x27;8&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-captcha-input\&quot;]&#x27;).type(&#x27;8888&#x27;);\ncy.get(&#x27;[data-testid=\&quot;login-submit-button\&quot;]&#x27;).click();\ncy.get(&#x27;.el-select__wrapper&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;duster-option-0\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;compartment-health-matrix\&quot;] &gt; :nth-child(1)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;compartment-health-matrix\&quot;] &gt; :nth-child(1) &gt; :nth-child(1)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-monitor\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;54611ea2-fdc4-47a7-9570-aae7afc5fbb4&quot;,&quot;parentUUID&quot;:&quot;3c02a0ed-21d8-43b6-a665-73256a08f491&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;54611ea2-fdc4-47a7-9570-aae7afc5fbb4&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:4325,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152931.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152931.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
......@@ -5,9 +5,9 @@
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-05T09:15:22.566Z",
"end": "2025-09-05T09:15:35.272Z",
"duration": 12706,
"start": "2025-09-08T07:29:27.217Z",
"end": "2025-09-08T07:29:31.614Z",
"duration": 4397,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
......@@ -18,7 +18,7 @@
},
"results": [
{
"uuid": "6fc57a6d-40df-4a99-ae1f-3d3b36374fe9",
"uuid": "b6948d52-272e-4d81-ac81-82ba4c8d275e",
"title": "",
"fullFile": "cypress/e2e/DC-TOM除尘器监控.cy.js",
"file": "cypress/e2e/DC-TOM除尘器监控.cy.js",
......@@ -27,7 +27,7 @@
"tests": [],
"suites": [
{
"uuid": "4dd84c5d-b1fa-4c2a-b2bc-834a46300a33",
"uuid": "3c02a0ed-21d8-43b6-a665-73256a08f491",
"title": "template spec",
"fullFile": "",
"file": "",
......@@ -38,29 +38,29 @@
"title": "DC-TOM除尘器监控",
"fullTitle": "template spec DC-TOM除尘器监控",
"timedOut": null,
"duration": 12674,
"duration": 4325,
"state": "passed",
"speed": "slow",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zongheng_admin');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\ncy.get('.el-select__wrapper').click();\ncy.get('[data-testid=\"duster-option-ZH-ZL-1GL-008\"] > span').click();\ncy.get('[data-testid=\"compartment-health-matrix\"] > :nth-child(1)').click();\ncy.get('[data-testid=\"compartment-health-matrix\"] > :nth-child(1) > :nth-child(1)').click();\ncy.get('[data-testid=\"menu-item-monitor\"]').click();\n/* ==== End Cypress Studio ==== */",
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/admin/dctom/#/login');\ncy.get('[data-testid=\"login-username-input\"]').clear('zongheng_admin');\ncy.get('[data-testid=\"login-username-input\"]').type('zongheng_admin');\ncy.get('[data-testid=\"login-password-input\"]').clear('9%#F46vt');\ncy.get('[data-testid=\"login-password-input\"]').type('9%#F46vt');\ncy.get('[data-testid=\"login-captcha-input\"]').clear('8');\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\ncy.get('.el-select__wrapper').click();\ncy.get('[data-testid=\"duster-option-0\"]').click();\ncy.get('[data-testid=\"compartment-health-matrix\"] > :nth-child(1)').click();\ncy.get('[data-testid=\"compartment-health-matrix\"] > :nth-child(1) > :nth-child(1)').click();\ncy.get('[data-testid=\"menu-item-monitor\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "735419d1-1a65-4a5c-b18f-302dadca9c7d",
"parentUUID": "4dd84c5d-b1fa-4c2a-b2bc-834a46300a33",
"uuid": "54611ea2-fdc4-47a7-9570-aae7afc5fbb4",
"parentUUID": "3c02a0ed-21d8-43b6-a665-73256a08f491",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"735419d1-1a65-4a5c-b18f-302dadca9c7d"
"54611ea2-fdc4-47a7-9570-aae7afc5fbb4"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 12674,
"duration": 4325,
"root": false,
"rootEmpty": false,
"_timeout": 2000
......
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:29:33.589Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:29:52.105Z&quot;,&quot;duration&quot;:18516,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;867937a3-b1fe-45ed-8741-2de81f08a943&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/EC-TOME-Net.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/EC-TOME-Net.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;13208c9f-60ac-4eec-99dc-0b0831b6fbec&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;EC-TOME-Net&quot;,&quot;fullTitle&quot;:&quot;template spec EC-TOME-Net&quot;,&quot;duration&quot;:18472,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;slow&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/steelmakingScreen/#/eNet&#x27;);\ncy.get(&#x27;[data-testid=\&quot;pause-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cancel-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reject-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cancel-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;execute-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cancel-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;tab-pointer-1\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;tab-container\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;tab-pointer-2\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;pending-status-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;executed-status-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;rejected-status-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;paused-status-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;all-status-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;chart-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;chart-type-option-1\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;chart-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;chart-type-option-0\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;alarm-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;alarm-type-option-1\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;alarm-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;alarm-type-option-0\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;alarm-time-0\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-confirm-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;delay-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reassign-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cancel-btn\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;8183d391-bd84-41f4-85cf-4cfb1333584d&quot;,&quot;parentUUID&quot;:&quot;13208c9f-60ac-4eec-99dc-0b0831b6fbec&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;8183d391-bd84-41f4-85cf-4cfb1333584d&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:18472,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152952.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152952.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
{
"stats": {
"suites": 1,
"tests": 1,
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-08T07:29:33.589Z",
"end": "2025-09-08T07:29:52.105Z",
"duration": 18516,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false
},
"results": [
{
"uuid": "867937a3-b1fe-45ed-8741-2de81f08a943",
"title": "",
"fullFile": "cypress/e2e/EC-TOME-Net.cy.js",
"file": "cypress/e2e/EC-TOME-Net.cy.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "13208c9f-60ac-4eec-99dc-0b0831b6fbec",
"title": "template spec",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "EC-TOME-Net",
"fullTitle": "template spec EC-TOME-Net",
"timedOut": null,
"duration": 18472,
"state": "passed",
"speed": "slow",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/steelmakingScreen/#/eNet');\ncy.get('[data-testid=\"pause-btn\"]').click();\ncy.get('[data-testid=\"cancel-button\"]').click();\ncy.get('[data-testid=\"reject-btn\"]').click();\ncy.get('[data-testid=\"cancel-button\"]').click();\ncy.get('[data-testid=\"execute-btn\"]').click();\ncy.get('[data-testid=\"cancel-button\"]').click();\ncy.get('[data-testid=\"tab-pointer-1\"]').click();\ncy.get('[data-testid=\"tab-container\"]').click();\ncy.get('[data-testid=\"tab-pointer-2\"]').click();\ncy.get('[data-testid=\"pending-status-button\"]').click();\ncy.get('[data-testid=\"executed-status-button\"]').click();\ncy.get('[data-testid=\"rejected-status-button\"]').click();\ncy.get('[data-testid=\"paused-status-button\"]').click();\ncy.get('[data-testid=\"all-status-button\"]').click();\ncy.get('[data-testid=\"chart-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"chart-type-option-1\"] > span').click();\ncy.get('[data-testid=\"chart-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"chart-type-option-0\"] > span').click();\ncy.get('[data-testid=\"alarm-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"alarm-type-option-1\"] > span').click();\ncy.get('[data-testid=\"alarm-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"alarm-type-option-0\"] > span').click();\ncy.get('[data-testid=\"alarm-time-0\"]').click();\ncy.get('[data-testid=\"reason-confirm-btn\"]').click();\ncy.get('[data-testid=\"delay-btn\"]').click();\ncy.get('[data-testid=\"reassign-btn\"]').click();\ncy.get('[data-testid=\"cancel-btn\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "8183d391-bd84-41f4-85cf-4cfb1333584d",
"parentUUID": "13208c9f-60ac-4eec-99dc-0b0831b6fbec",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"8183d391-bd84-41f4-85cf-4cfb1333584d"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 18472,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
}
],
"meta": {
"mocha": {
"version": "7.0.1"
},
"mochawesome": {
"options": {
"quiet": false,
"reportFilename": "mochawesome",
"saveHtml": true,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false,
"code": true
},
"version": "7.1.3"
},
"marge": {
"options": {
"reportDir": "cypress/reports",
"overwrite": false,
"html": true,
"json": true,
"timestamp": "mmddyyyy_HHMMss",
"reportTitle": "Development Tests",
"reportPageTitle": "开发环境测试报告"
},
"version": "6.2.0"
}
}
}
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:29:54.124Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:29:58.043Z&quot;,&quot;duration&quot;:3919,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;0f8f63a7-18f9-4eb6-bb7f-07ffa7458889&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;ae63e46f-672e-4771-bd70-4fde86c6773f&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;EC-TOMPIKAR-烟尘识别数据台账&quot;,&quot;fullTitle&quot;:&quot;template spec EC-TOMPIKAR-烟尘识别数据台账&quot;,&quot;duration&quot;:3884,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/steelmakingScreen/#/smokeDustDetail&#x27;);\ncy.get(&#x27;[data-testid=\&quot;device-name-input\&quot;]&#x27;).clear(&#x27;1#出铁口&#x27;);\ncy.get(&#x27;[data-testid=\&quot;device-name-input\&quot;]&#x27;).type(&#x27;1#出铁口&#x27;);\ncy.get(&#x27;[data-testid=\&quot;query-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cell-0-operate\&quot;] &gt; [data-testid=\&quot;watch-video-link\&quot;]&#x27;).click();\ncy.get(&#x27;.switchBtn &gt; .el-button &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cell-0-operate\&quot;] &gt; [data-testid=\&quot;data-detail-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;video-button\&quot;]&#x27;).click();\ncy.get(&#x27;.switchBtn &gt; .el-button &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;back-button\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;4064df67-b066-47b4-9933-ef6b79aaf121&quot;,&quot;parentUUID&quot;:&quot;ae63e46f-672e-4771-bd70-4fde86c6773f&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;4064df67-b066-47b4-9933-ef6b79aaf121&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:3884,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152958.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152958.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
......@@ -2,14 +2,14 @@
"stats": {
"suites": 1,
"tests": 1,
"passes": 0,
"passes": 1,
"pending": 0,
"failures": 1,
"start": "2025-09-05T09:15:37.082Z",
"end": "2025-09-05T09:16:33.426Z",
"duration": 56344,
"failures": 0,
"start": "2025-09-08T07:29:54.124Z",
"end": "2025-09-08T07:29:58.043Z",
"duration": 3919,
"testsRegistered": 1,
"passPercent": 0,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
......@@ -18,53 +18,49 @@
},
"results": [
{
"uuid": "9e154ce8-d8ec-4733-a4cf-5da52eadd210",
"uuid": "0f8f63a7-18f9-4eb6-bb7f-07ffa7458889",
"title": "",
"fullFile": "cypress/e2e/generic-login.cy.js",
"file": "cypress/e2e/generic-login.cy.js",
"fullFile": "cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js",
"file": "cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "34c50169-b1a9-4310-b894-85d2cf7ddf83",
"title": "通用登录测试",
"uuid": "ae63e46f-672e-4771-bd70-4fde86c6773f",
"title": "template spec",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "应该能够成功登录",
"fullTitle": "通用登录测试 应该能够成功登录",
"title": "EC-TOMPIKAR-烟尘识别数据台账",
"fullTitle": "template spec EC-TOMPIKAR-烟尘识别数据台账",
"timedOut": null,
"duration": 15847,
"state": "failed",
"speed": null,
"pass": false,
"fail": true,
"duration": 3884,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "// 使用环境变量中的凭据登录\nconst username = Cypress.env('username');\nconst password = Cypress.env('password');\ncy.get('[data-testid=\"login-username-input\"]').type(username);\ncy.get('[data-testid=\"login-password-input\"]').type(password);\ncy.get('[data-testid=\"login-captcha-input\"]').type('8888');\ncy.get('[data-testid=\"login-submit-button\"]').click();\n// 验证登录成功(根据实际应用调整)\ncy.url().should('not.include', '/login');\ncy.get('[data-testid=\"dashboard-container\"]').should('be.visible');",
"err": {
"message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid=\"login-captcha-input\"]`, but never found it.",
"estack": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid=\"login-captcha-input\"]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/generic-login.cy.js:14:7)",
"diff": null
},
"uuid": "63910def-2fad-4368-8a38-85530dae1956",
"parentUUID": "34c50169-b1a9-4310-b894-85d2cf7ddf83",
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/steelmakingScreen/#/smokeDustDetail');\ncy.get('[data-testid=\"device-name-input\"]').clear('1#出铁口');\ncy.get('[data-testid=\"device-name-input\"]').type('1#出铁口');\ncy.get('[data-testid=\"query-button\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"cell-0-operate\"] > [data-testid=\"watch-video-link\"]').click();\ncy.get('.switchBtn > .el-button > span').click();\ncy.get('[data-testid=\"cell-0-operate\"] > [data-testid=\"data-detail-link\"]').click();\ncy.get('[data-testid=\"video-button\"]').click();\ncy.get('.switchBtn > .el-button > span').click();\ncy.get('[data-testid=\"back-button\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "4064df67-b066-47b4-9933-ef6b79aaf121",
"parentUUID": "ae63e46f-672e-4771-bd70-4fde86c6773f",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [],
"failures": [
"63910def-2fad-4368-8a38-85530dae1956"
"passes": [
"4064df67-b066-47b4-9933-ef6b79aaf121"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 15847,
"duration": 3884,
"root": false,
"rootEmpty": false,
"_timeout": 2000
......
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:30:00.007Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:30:04.118Z&quot;,&quot;duration&quot;:4111,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;3b6949a0-bb5a-47c6-8b42-ad449da2aba9&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/EC-TOM准时化.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/EC-TOM准时化.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;859c6d09-4aec-4916-b12b-d1b06018aaa3&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;准时化&quot;,&quot;fullTitle&quot;:&quot;template spec 准时化&quot;,&quot;duration&quot;:4076,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/steelmakingScreen/#/robotNew&#x27;);\ncy.get(&#x27;[data-testid=\&quot;execute-icon\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;auto-execute-button\&quot;] &gt; :nth-child(2)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;feedback-button\&quot;] &gt; :nth-child(2)&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;eco-tom-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;pending-status-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;executed-status-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;rejected-status-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;paused-status-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;rejected-status-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;all-status-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cems-tab\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;energy-trend-tab\&quot;]&#x27;).click();\ncy.get(&#x27;[placeholder=\&quot;开始日期\&quot;]&#x27;).click();\ncy.get(&#x27;.is-left &gt; .el-date-table &gt; tbody &gt; :nth-child(6) &gt; :nth-child(5) &gt; .el-date-table-cell &gt; .el-date-table-cell__text&#x27;).click();\ncy.get(&#x27;.end-date&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;main-video-image\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;sdk-close-video-btn\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;back-btn\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;a188d212-f5d7-4fe6-9feb-8a60b6d14c6b&quot;,&quot;parentUUID&quot;:&quot;859c6d09-4aec-4916-b12b-d1b06018aaa3&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;a188d212-f5d7-4fe6-9feb-8a60b6d14c6b&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:4076,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_153004.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_153004.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
{
"stats": {
"suites": 1,
"tests": 1,
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-08T07:30:00.007Z",
"end": "2025-09-08T07:30:04.118Z",
"duration": 4111,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false
},
"results": [
{
"uuid": "3b6949a0-bb5a-47c6-8b42-ad449da2aba9",
"title": "",
"fullFile": "cypress/e2e/EC-TOM准时化.cy.js",
"file": "cypress/e2e/EC-TOM准时化.cy.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "859c6d09-4aec-4916-b12b-d1b06018aaa3",
"title": "template spec",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "准时化",
"fullTitle": "template spec 准时化",
"timedOut": null,
"duration": 4076,
"state": "passed",
"speed": "fast",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/steelmakingScreen/#/robotNew');\ncy.get('[data-testid=\"execute-icon\"]').click();\ncy.get('[data-testid=\"auto-execute-button\"] > :nth-child(2)').click();\ncy.get('[data-testid=\"feedback-button\"] > :nth-child(2)').click();\ncy.get('[data-testid=\"eco-tom-button\"]').click();\ncy.get('[data-testid=\"pending-status-btn\"]').click();\ncy.get('[data-testid=\"executed-status-btn\"]').click();\ncy.get('[data-testid=\"rejected-status-btn\"]').click();\ncy.get('[data-testid=\"paused-status-btn\"]').click();\ncy.get('[data-testid=\"rejected-status-btn\"]').click();\ncy.get('[data-testid=\"all-status-btn\"]').click();\ncy.get('[data-testid=\"cems-tab\"]').click();\ncy.get('[data-testid=\"energy-trend-tab\"]').click();\ncy.get('[placeholder=\"开始日期\"]').click();\ncy.get('.is-left > .el-date-table > tbody > :nth-child(6) > :nth-child(5) > .el-date-table-cell > .el-date-table-cell__text').click();\ncy.get('.end-date').click();\ncy.get('[data-testid=\"main-video-image\"]').click();\ncy.get('[data-testid=\"sdk-close-video-btn\"]').click();\ncy.get('[data-testid=\"back-btn\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "a188d212-f5d7-4fe6-9feb-8a60b6d14c6b",
"parentUUID": "859c6d09-4aec-4916-b12b-d1b06018aaa3",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"a188d212-f5d7-4fe6-9feb-8a60b6d14c6b"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 4076,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
}
],
"meta": {
"mocha": {
"version": "7.0.1"
},
"mochawesome": {
"options": {
"quiet": false,
"reportFilename": "mochawesome",
"saveHtml": true,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false,
"code": true
},
"version": "7.1.3"
},
"marge": {
"options": {
"reportDir": "cypress/reports",
"overwrite": false,
"html": true,
"json": true,
"timestamp": "mmddyyyy_HHMMss",
"reportTitle": "Development Tests",
"reportPageTitle": "开发环境测试报告"
},
"version": "6.2.0"
}
}
}
\ No newline at end of file
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>开发环境测试报告</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:1,&quot;passes&quot;:1,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2025-09-08T07:30:06.094Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:30:13.829Z&quot;,&quot;duration&quot;:7735,&quot;testsRegistered&quot;:1,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;ed797454-f515-4c6e-9301-8fcc0222024e&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress/e2e/EC-TOM设备数据台账.cy.js&quot;,&quot;file&quot;:&quot;cypress/e2e/EC-TOM设备数据台账.cy.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;9d61cf97-7268-426e-9d09-94546bd60ace&quot;,&quot;title&quot;:&quot;template spec&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;设备数据台账1&quot;,&quot;fullTitle&quot;:&quot;template spec 设备数据台账1&quot;,&quot;duration&quot;:7693,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;code&quot;:&quot;/* ==== Generated with Cypress Studio ==== */\ncy.visit(&#x27;https://screen.bmetech.com/steelmakingScreen/#/valveTableData&#x27;);\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-option-0\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;query-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__suffix &gt; .el-icon &gt; svg&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-option-1\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;query-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;cell-0-operate\&quot;] &gt; [data-testid=\&quot;view-detail-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;detail-query-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;detail-export-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;back-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[aria-label=\&quot;第 2 页\&quot;]&#x27;).click();\ncy.get(&#x27;[aria-label=\&quot;第 1 页\&quot;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;ddf93fb1-727d-4eea-afcf-5706bff61f03&quot;,&quot;parentUUID&quot;:&quot;9d61cf97-7268-426e-9d09-94546bd60ace&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;ddf93fb1-727d-4eea-afcf-5706bff61f03&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:7693,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:true,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;7.1.3&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:true,&quot;json&quot;:true,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;},&quot;version&quot;:&quot;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;reportDir&quot;:&quot;cypress/reports&quot;,&quot;reportTitle&quot;:&quot;Development Tests&quot;,&quot;reportPageTitle&quot;:&quot;开发环境测试报告&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:false,&quot;timestamp&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;ts&quot;:&quot;mmddyyyy_HHMMss&quot;,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:true,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;cypress/reports/assets&quot;,&quot;jsonFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_153013.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_153013.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
{
"stats": {
"suites": 1,
"tests": 1,
"passes": 1,
"pending": 0,
"failures": 0,
"start": "2025-09-08T07:30:06.094Z",
"end": "2025-09-08T07:30:13.829Z",
"duration": 7735,
"testsRegistered": 1,
"passPercent": 100,
"pendingPercent": 0,
"other": 0,
"hasOther": false,
"skipped": 0,
"hasSkipped": false
},
"results": [
{
"uuid": "ed797454-f515-4c6e-9301-8fcc0222024e",
"title": "",
"fullFile": "cypress/e2e/EC-TOM设备数据台账.cy.js",
"file": "cypress/e2e/EC-TOM设备数据台账.cy.js",
"beforeHooks": [],
"afterHooks": [],
"tests": [],
"suites": [
{
"uuid": "9d61cf97-7268-426e-9d09-94546bd60ace",
"title": "template spec",
"fullFile": "",
"file": "",
"beforeHooks": [],
"afterHooks": [],
"tests": [
{
"title": "设备数据台账1",
"fullTitle": "template spec 设备数据台账1",
"timedOut": null,
"duration": 7693,
"state": "passed",
"speed": "medium",
"pass": true,
"fail": false,
"pending": false,
"context": null,
"code": "/* ==== Generated with Cypress Studio ==== */\ncy.visit('https://screen.bmetech.com/steelmakingScreen/#/valveTableData');\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"device-type-option-0\"]').click();\ncy.get('[data-testid=\"query-button\"] > span').click();\ncy.get('[data-testid=\"device-type-select\"] > .el-select__wrapper > .el-select__suffix > .el-icon > svg').click();\ncy.get('[data-testid=\"device-type-option-1\"]').click();\ncy.get('[data-testid=\"query-button\"]').click();\ncy.get('[data-testid=\"cell-0-operate\"] > [data-testid=\"view-detail-link\"]').click();\ncy.get('[data-testid=\"detail-query-button\"] > span').click();\ncy.get('[data-testid=\"detail-export-button\"]').click();\ncy.get('[data-testid=\"back-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[aria-label=\"第 2 页\"]').click();\ncy.get('[aria-label=\"第 1 页\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {},
"uuid": "ddf93fb1-727d-4eea-afcf-5706bff61f03",
"parentUUID": "9d61cf97-7268-426e-9d09-94546bd60ace",
"isHook": false,
"skipped": false
}
],
"suites": [],
"passes": [
"ddf93fb1-727d-4eea-afcf-5706bff61f03"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 7693,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
}
],
"meta": {
"mocha": {
"version": "7.0.1"
},
"mochawesome": {
"options": {
"quiet": false,
"reportFilename": "mochawesome",
"saveHtml": true,
"saveJson": true,
"consoleReporter": "spec",
"useInlineDiffs": false,
"code": true
},
"version": "7.1.3"
},
"marge": {
"options": {
"reportDir": "cypress/reports",
"overwrite": false,
"html": true,
"json": true,
"timestamp": "mmddyyyy_HHMMss",
"reportTitle": "Development Tests",
"reportPageTitle": "开发环境测试报告"
},
"version": "6.2.0"
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
@echo off
setlocal enabledelayedexpansion
REM 参数处理
set ENV=%1
if "%ENV%"=="" set ENV=development
set BROWSER=%2
if "%BROWSER%"=="" set BROWSER=chrome
echo Running tests for %ENV% environment with %BROWSER% browser
REM 环境配置
if "%ENV%"=="development" (
set CYPRESS_BASE_URL=http://172.16.20.227/admin/dcTom/
set CYPRESS_REPORT_TITLE=Development Tests
) else if "%ENV%"=="staging" (
set CYPRESS_BASE_URL=http://172.16.20.227/admin/dcTom/
set CYPRESS_REPORT_TITLE=Staging Tests
) else if "%ENV%"=="production" (
set CYPRESS_BASE_URL=http://172.16.20.227/admin/dcTom/
set CYPRESS_REPORT_TITLE=Production Tests
) else (
if "%ENV:~0,4%"=="http" (
set CYPRESS_BASE_URL=%ENV%
set CYPRESS_REPORT_TITLE=Custom URL Tests
echo Using custom URL: %ENV%
) else (
echo Unknown environment: %ENV%
echo Supported environments: development, staging, production
echo Or specify a URL directly
exit /b 1
)
)
echo CYPRESS_BASE_URL: %CYPRESS_BASE_URL%
REM 浏览器选择和 fallback
set FALLBACK_BROWSER=electron
set CHROME_CUSTOM=chrome-custom
if /i "%BROWSER%"=="chrome" (
echo Replacing chrome with %CHROME_CUSTOM%
set BROWSER=%CHROME_CUSTOM%
)
REM 检查浏览器是否可用
npx cypress info | findstr /i "%BROWSER%" >nul
if errorlevel 1 (
echo Browser %BROWSER% not found, falling back to %FALLBACK_BROWSER%
set BROWSER=%FALLBACK_BROWSER%
)
echo Using browser: %BROWSER%
REM 查找测试文件
echo Finding test scripts...
set SPEC_FILES=
for %%f in (cypress\e2e\*.cy.js) do (
if exist "%%f" (
if "!SPEC_FILES!"=="" (
set SPEC_FILES=%%f
) else (
set SPEC_FILES=!SPEC_FILES!,%%f
)
echo - %%f
)
)
REM 创建报告目录
if not exist "cypress\reports" mkdir cypress\reports
if not exist "public\reports" mkdir public\reports
REM 清理旧的报告文件
echo Cleaning up old report files...
del /q "cypress\reports\*.json" 2>nul
del /q "cypress\reports\*.html" 2>nul
del /q "public\reports\*.json" 2>nul
del /q "public\reports\*.html" 2>nul
echo Old report files cleaned up.
REM 运行测试
if defined SPEC_FILES (
echo Running specified test scripts...
npx cypress run --browser %BROWSER% --spec "%SPEC_FILES%"
) else (
echo No first-level test scripts found, running all tests...
npx cypress run --browser %BROWSER%
)
set TEST_EXIT_CODE=%errorlevel%
echo Test execution completed with exit code: %TEST_EXIT_CODE%
REM 合并和生成报告
echo Merging reports...
npx mochawesome-merge cypress/reports/**/*.json -o public/reports/merged-report.json
echo Generating HTML report...
npx marge public/reports/merged-report.json --reportDir public/reports --inline
echo Generating summary report...
node scripts/generate-summary-report.cjs
echo All reports generated!
echo View summary report: public/reports/summary-report.html
echo View detailed report: public/reports/merged-report.html
echo Test execution finished
\ No newline at end of file
@echo off
setlocal enabledelayedexpansion
set ENV=%1
if "%ENV%"=="" set ENV=development
set BROWSER=%2
if "%BROWSER%"=="" set BROWSER=chrome
echo Running tests for %ENV% environment with %BROWSER% browser
if "%ENV%"=="development" (
set CYPRESS_BASE_URL=https://screen.bmetech.com/admin/dctom/
set CYPRESS_REPORT_TITLE=Development Tests
) else if "%ENV%"=="staging" (
set CYPRESS_BASE_URL=https://screen.bmetech.com/admin/dctom/
set CYPRESS_REPORT_TITLE=Staging Tests
) else if "%ENV%"=="production" (
set CYPRESS_BASE_URL=https://screen.bmetech.com/admin/dctom/
set CYPRESS_REPORT_TITLE=Production Tests
) else (
if "%ENV:~0,4%"=="http" (
set CYPRESS_BASE_URL=%ENV%
set CYPRESS_REPORT_TITLE=Custom URL Tests
echo Using custom URL: %ENV%
) else (
echo Unknown environment: %ENV%
echo Supported environments: development, staging, production
echo Or specify a URL directly
exit /b 1
)
)
echo CYPRESS_BASE_URL: %CYPRESS_BASE_URL%
REM 检查浏览器是否可用
echo Checking if browser %BROWSER% is available...
REM 在Windows上,我们简化处理,直接使用electron作为备选
set FALLBACK_BROWSER=electron
echo Finding test scripts...
set SPEC_FILES=
for %%f in (cypress\e2e\*.cy.js) do (
if exist "%%f" (
if "!SPEC_FILES!"=="" (
set SPEC_FILES=%%f
) else (
set SPEC_FILES=!SPEC_FILES!,%%f
)
echo - %%f
)
)
echo Creating report directories...
if not exist "cypress\reports" mkdir cypress\reports
if not exist "public\reports" mkdir public\reports
if defined SPEC_FILES (
echo Running specified test scripts...
npx cypress run --browser %BROWSER% --spec "%SPEC_FILES%"
) else (
echo No first-level test scripts found, running all tests...
npx cypress run --browser %BROWSER%
)
set TEST_EXIT_CODE=%errorlevel%
echo Test execution completed with exit code: %TEST_EXIT_CODE%
echo Merging reports...
npx mochawesome-merge cypress/reports/**/*.json -o public/reports/merged-report.json
echo Generating HTML report...
npx marge public/reports/merged-report.json --reportDir public/reports --inline
echo Generating summary report...
node scripts/generate-summary-report.cjs
echo All reports generated!
echo View summary report: public/reports/summary-report.html
echo View detailed report: public/reports/merged-report.html
echo Test execution finished
\ No newline at end of file
@echo off
setlocal enabledelayedexpansion
REM ========================================
REM 通用测试执行脚本 (Windows 版 - 精简版)
REM 用法: run-tests.bat [browser]
REM 示例: run-tests.bat chrome
REM ========================================
set "BROWSER=%~1"
if "%BROWSER%"=="" set "BROWSER=chrome"
echo 开始执行测试,使用 %BROWSER% 浏览器
REM ======================================
REM 浏览器选择和 fallback
REM ======================================
set "FALLBACK_BROWSER=electron"
set "CHROME_CUSTOM=chrome-custom"
if /i "%BROWSER%"=="chrome" (
echo Replacing chrome with %CHROME_CUSTOM%
set "BROWSER=%CHROME_CUSTOM%"
)
echo 检查浏览器 %BROWSER% 是否可用...
npx cypress info | findstr /i "%BROWSER%" >nul
if errorlevel 1 (
echo Browser %BROWSER% not found, falling back to %FALLBACK_BROWSER%
set "BROWSER=%FALLBACK_BROWSER%"
)
echo Using browser: %BROWSER%
echo ======================================
REM ======================================
REM 确保报告目录存在 & 清理旧的报告
REM ======================================
echo 清理旧的报告文件...
if not exist cypress\reports mkdir cypress\reports
if not exist public\reports mkdir public\reports
del /q /s cypress\reports\*.* 2>nul
del /q /s public\reports\*.* 2>nul
REM ======================================
REM 查找测试文件
REM ======================================
set "SPEC_FILES="
for %%f in (cypress\e2e\*.cy.js) do (
if not defined SPEC_FILES (
set "SPEC_FILES=%%f"
) else (
set "SPEC_FILES=!SPEC_FILES!,%%f"
)
echo - %%f
)
REM ======================================
REM 执行测试
REM ======================================
if defined SPEC_FILES (
echo 执行指定的测试脚本...
call npx cypress run --browser %BROWSER% --spec "%SPEC_FILES%"
) else (
echo 未找到第一层测试脚本,执行所有测试...
call npx cypress run --browser %BROWSER%
)
set "TEST_EXIT_CODE=%ERRORLEVEL%"
echo 测试执行完成,退出码: %TEST_EXIT_CODE%
if %TEST_EXIT_CODE%==0 (
echo 测试执行成功,生成报告...
) else (
echo 警告: 测试执行失败(退出码: %TEST_EXIT_CODE%),但仍尝试生成报告...
)
REM ======================================
REM 合并报告 & 生成 HTML
REM ======================================
for /f %%i in ('dir /b /s cypress\reports\*.json 2^>nul ^| find /c /v ""') do set JSON_REPORT_COUNT=%%i
echo 找到 %JSON_REPORT_COUNT% 个JSON报告文件
if %JSON_REPORT_COUNT% gtr 0 (
echo 合并报告...
call npx mochawesome-merge cypress\reports\**\*.json -o public\reports\merged-report.json
if errorlevel 1 (
echo 报告合并失败
exit /b 1
)
echo 生成HTML报告...
call npx marge public\reports\merged-report.json --reportDir public\reports --inline
if errorlevel 1 (
echo HTML报告生成失败
exit /b 1
)
echo 生成自定义汇总报告...
call node scripts\generate-summary-report.cjs
if errorlevel 1 (
echo 自定义汇总报告生成失败
exit /b 1
)
echo 所有报告生成完成!
echo 查看汇总报告: public\reports\summary-report.html
echo 查看详细报告: public\reports\merged-report.html
) else (
echo 未找到任何JSON报告文件,跳过报告生成
if not %TEST_EXIT_CODE%==0 (
echo 测试执行失败,请检查错误信息
exit /b 1
)
)
echo 测试执行完成
exit /b 0
......@@ -9,48 +9,6 @@ BROWSER=${2:-chrome}
echo "开始执行 $ENV 环境的测试,使用 $BROWSER 浏览器"
# 根据环境设置变量
case $ENV in
"development"|"dev")
export CYPRESS_BASE_URL="https://screen.bmetech.com/admin/dctom/"
export CYPRESS_REPORT_TITLE="Development Tests"
export CYPRESS_REPORT_PAGE_TITLE="开发环境测试报告"
;;
"staging")
export CYPRESS_BASE_URL="https://screen.bmetech.com/admin/dctom/"
export CYPRESS_REPORT_TITLE="Staging Tests"
export CYPRESS_REPORT_PAGE_TITLE="预发布环境测试报告"
;;
"production"|"prod")
export CYPRESS_BASE_URL="https://screen.bmetech.com/admin/dctom/"
export CYPRESS_REPORT_TITLE="Production Tests"
export CYPRESS_REPORT_PAGE_TITLE="生产环境测试报告"
;;
"custom")
# 加载自定义环境变量
if [ -f ".env.custom" ]; then
source .env.custom
echo "已加载自定义环境配置"
else
echo "警告: 未找到 .env.custom 文件"
fi
;;
*)
# 支持直接指定URL
if [[ $ENV == http* ]]; then
export CYPRESS_BASE_URL=$ENV
export CYPRESS_REPORT_TITLE="Custom URL Tests"
export CYPRESS_REPORT_PAGE_TITLE="自定义URL测试报告"
echo "使用自定义URL: $ENV"
else
echo "未知环境: $ENV"
echo "支持的环境: development, staging, production, custom"
echo "或者直接指定URL,例如: ./run-tests.sh https://your-site.com chrome"
exit 1
fi
;;
esac
# 输出环境变量以供调试
echo "CYPRESS_BASE_URL: $CYPRESS_BASE_URL"
echo "CYPRESS_REPORT_TITLE: $CYPRESS_REPORT_TITLE"
......
......@@ -299,20 +299,22 @@ const generateHtmlReport = () => {
.legend-item.pending .legend-color { background-color: #ff9800; }
.chart {
display: flex;
gap: 30px;
gap: 10px;
overflow-x: auto;
padding: 20px 0;
flex-wrap: wrap;
}
.chart-bar {
display: flex;
flex-direction: column;
align-items: center;
min-width: 80px;
width: 80px;
}
.bar-label {
margin-bottom: 10px;
text-align: center;
font-size: 12px;
font-size: 11px;
line-height: 12px;
height: 40px;
}
.bar-container {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment