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

feat(*): 更新测试脚本

parent b94630c6
Pipeline #1334 failed
...@@ -39,7 +39,7 @@ describe('template spec', () => { ...@@ -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-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__label').click();
cy.get('[data-testid="suspend-flag-radio-all"] > .el-radio__input > .el-radio__original').check(); 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(); cy.get('.el-dialog__headerbtn > .el-icon > svg').click();
/* ==== End Cypress Studio ==== */ /* ==== End Cypress Studio ==== */
}); });
......
...@@ -33,11 +33,11 @@ describe('template spec', () => { ...@@ -33,11 +33,11 @@ describe('template spec', () => {
cy.get('#device-type-option-2').click(); cy.get('#device-type-option-2').click();
cy.get('[data-testid="my-agency-search-button"] > span').click(); cy.get('[data-testid="my-agency-search-button"] > span').click();
cy.get('[data-testid="my-agency-reset-button"]').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('.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('[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="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="menu-item-my-loop/myDone"] > span').click();
cy.get('[data-testid="event-name-input"]').clear('t'); cy.get('[data-testid="event-name-input"]').clear('t');
......
...@@ -30,7 +30,7 @@ describe('template spec', () => { ...@@ -30,7 +30,7 @@ describe('template spec', () => {
cy.get('#equipment-device-type-option-2').click(); cy.get('#equipment-device-type-option-2').click();
cy.get('[data-testid="equipment-search-button"] > span').click(); cy.get('[data-testid="equipment-search-button"] > span').click();
cy.get('[data-testid="equipment-reset-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="confirm-button"]').click();
cy.get('[data-testid="menu-item-management/suspend-management"] > span').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(); cy.get('[data-testid="project-select"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();
...@@ -56,7 +56,7 @@ describe('template spec', () => { ...@@ -56,7 +56,7 @@ describe('template spec', () => {
cy.get('#reason-category-option-3').click(); cy.get('#reason-category-option-3').click();
cy.get('[data-testid="search-button"]').click(); cy.get('[data-testid="search-button"]').click();
cy.get('[data-testid="reset-button"] > span').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(); cy.get('[data-testid="menu-item-management/suspend-management"] > span').click();
/* ==== End Cypress Studio ==== */ /* ==== 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
<!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:11.270Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:14:27.652Z&quot;,&quot;duration&quot;:16382,&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;04f6c402-c8d8-4920-a47f-1687e8f49da4&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;1e49c589-4043-40ee-94b1-76a29300881d&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;:16346,&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-submenu-my-loop\&quot;] &gt; .el-sub-menu__title &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-my-loop/myAgency\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-event-name-input\&quot;]&#x27;).clear(&#x27;m&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-event-name-input\&quot;]&#x27;).type(&#x27;脉冲阀&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-keyword-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-keyword-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;production-line-option-169108\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-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;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-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;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-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;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;]&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-process-button\&quot;]&#x27;).click();\ncy.get(&#x27;.el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-dispatch-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;assign-dialog\&quot;] &gt; .el-dialog__header &gt; .el-dialog__headerbtn &gt; .el-icon &gt; svg &gt; path&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-change-bag-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;bag-dialog\&quot;] &gt; .el-dialog__header &gt; .el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-my-loop/myDone\&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;] &gt; span&#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;).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;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;production-line-option-169109\&quot;]&#x27;).click();\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;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;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;]&#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;]&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;74f30247-9081-4780-b48a-cc8e14aa2f72&quot;,&quot;parentUUID&quot;:&quot;1e49c589-4043-40ee-94b1-76a29300881d&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;74f30247-9081-4780-b48a-cc8e14aa2f72&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:16346,&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_171427.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171427.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:29.504Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:14:44.218Z&quot;,&quot;duration&quot;:14714,&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;884c83cf-f1f1-44f1-8923-f06e5922d96c&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;064a2abd-0ab7-40ee-aea7-7e33c0ac53bb&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;:14684,&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;[data-testid=\&quot;menu-submenu-device-management\&quot;] &gt; .el-sub-menu__title&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-management/device-management\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-production-line-option-169109\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-duster-name-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-duster-name-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-name-input\&quot;]&#x27;).clear(&#x27;bu&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-device-name-input\&quot;]&#x27;).type(&#x27;布袋仪表&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-type-option-10001\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-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;equipment-device-type-option-10002\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_11 &gt; .cell &gt; [data-testid=\&quot;equipment-params-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;confirm-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-management/suspend-management\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;project-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;project-option-26\&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 &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;device-type-option-200001\&quot;] &gt; span&#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;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;]&#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;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-option-1\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-option-2\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-option-3\&quot;]&#x27;).click();\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;:nth-child(1) &gt; .el-table_2_column_24 &gt; .cell &gt; [data-testid=\&quot;suspend-alarm-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-management/suspend-management\&quot;] &gt; span&#x27;).click();\n/* ==== End Cypress Studio ==== */&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;1d67b62c-5e23-480b-85e6-0cbebf824751&quot;,&quot;parentUUID&quot;:&quot;064a2abd-0ab7-40ee-aea7-7e33c0ac53bb&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;1d67b62c-5e23-480b-85e6-0cbebf824751&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:14684,&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_171444.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171444.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: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 @@ ...@@ -5,9 +5,9 @@
"passes": 1, "passes": 1,
"pending": 0, "pending": 0,
"failures": 0, "failures": 0,
"start": "2025-09-05T09:13:35.713Z", "start": "2025-09-08T07:25:51.206Z",
"end": "2025-09-05T09:13:45.035Z", "end": "2025-09-08T07:25:55.409Z",
"duration": 9322, "duration": 4203,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 100,
"pendingPercent": 0, "pendingPercent": 0,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "d8f6eaca-1ce1-4f1a-9f22-1297946d306d", "uuid": "fb65e0c2-f4c5-43c0-9948-958cdd8332bc",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM首页.cy.js", "fullFile": "cypress/e2e/DC-TOM首页.cy.js",
"file": "cypress/e2e/DC-TOM首页.cy.js", "file": "cypress/e2e/DC-TOM首页.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "388aca86-112a-4be7-b45f-cd18b0c19a33", "uuid": "8e4725d5-1564-432b-894b-b6d597f7f00d",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,29 @@ ...@@ -38,29 +38,29 @@
"title": "DC-TOM首页", "title": "DC-TOM首页",
"fullTitle": "template spec DC-TOM首页", "fullTitle": "template spec DC-TOM首页",
"timedOut": null, "timedOut": null,
"duration": 9289, "duration": 4169,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {},
"uuid": "9107db13-f30e-481c-a84b-89c1a7b80a52", "uuid": "dd120b75-9731-4ca0-bb70-351241ac92c4",
"parentUUID": "388aca86-112a-4be7-b45f-cd18b0c19a33", "parentUUID": "8e4725d5-1564-432b-894b-b6d597f7f00d",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"9107db13-f30e-481c-a84b-89c1a7b80a52" "dd120b75-9731-4ca0-bb70-351241ac92c4"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 9289, "duration": 4169,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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 @@ ...@@ -2,14 +2,14 @@
"stats": { "stats": {
"suites": 1, "suites": 1,
"tests": 1, "tests": 1,
"passes": 1, "passes": 0,
"pending": 0, "pending": 0,
"failures": 0, "failures": 1,
"start": "2025-09-05T09:13:46.973Z", "start": "2025-09-08T07:25:57.349Z",
"end": "2025-09-05T09:13:58.243Z", "end": "2025-09-08T07:27:00.076Z",
"duration": 11270, "duration": 62727,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 0,
"pendingPercent": 0, "pendingPercent": 0,
"other": 0, "other": 0,
"hasOther": false, "hasOther": false,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "a73c3450-f7e8-4f0e-9f98-93b74a54f33d", "uuid": "2f0e7d7f-8ef8-4788-ad9a-59151867cf32",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM告警总览.cy.js", "fullFile": "cypress/e2e/DC-TOM告警总览.cy.js",
"file": "cypress/e2e/DC-TOM告警总览.cy.js", "file": "cypress/e2e/DC-TOM告警总览.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "f84ffb0e-4f65-4078-a603-bcabe400bb80", "uuid": "97eb7d0b-d060-4754-b99d-a12ff8d2b85e",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,33 @@ ...@@ -38,29 +38,33 @@
"title": "DC-TOM告警总览", "title": "DC-TOM告警总览",
"fullTitle": "template spec DC-TOM告警总览", "fullTitle": "template spec DC-TOM告警总览",
"timedOut": null, "timedOut": null,
"duration": 11238, "duration": 20761,
"state": "passed", "state": "failed",
"speed": "slow", "speed": null,
"pass": true, "pass": false,
"fail": false, "fail": true,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {
"uuid": "29a1c045-c66f-4807-82a3-8bb3153ba7b4", "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.",
"parentUUID": "f84ffb0e-4f65-4078-a603-bcabe400bb80", "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, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [],
"29a1c045-c66f-4807-82a3-8bb3153ba7b4" "failures": [
"f2194bfd-a186-4282-a2e1-265f74e02f98"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 11238, "duration": 20761,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
......
<!doctype html> <!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:35.713Z&quot;,&quot;end&quot;:&quot;2025-09-05T09:13:45.035Z&quot;,&quot;duration&quot;:9322,&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;d8f6eaca-1ce1-4f1a-9f22-1297946d306d&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;388aca86-112a-4be7-b45f-cd18b0c19a33&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;:9289,&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(&#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;9107db13-f30e-481c-a84b-89c1a7b80a52&quot;,&quot;parentUUID&quot;:&quot;388aca86-112a-4be7-b45f-cd18b0c19a33&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;9107db13-f30e-481c-a84b-89c1a7b80a52&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:9289,&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_171345.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09052025_171345.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></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:27:02.034Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:27:06.094Z&quot;,&quot;duration&quot;:4060,&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;46c00aa5-0650-4929-9351-15df11e14e94&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;a9302c4b-4e6c-40dd-8ed6-faf97dce605f&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;:3992,&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;] &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;d9615073-4c79-4d4a-bd8a-937f4f828a1d&quot;,&quot;parentUUID&quot;:&quot;a9302c4b-4e6c-40dd-8ed6-faf97dce605f&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;d9615073-4c79-4d4a-bd8a-937f4f828a1d&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:3992,&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_152706.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152706.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
"passes": 1, "passes": 1,
"pending": 0, "pending": 0,
"failures": 0, "failures": 0,
"start": "2025-09-05T09:14:00.073Z", "start": "2025-09-08T07:27:02.034Z",
"end": "2025-09-05T09:14:09.396Z", "end": "2025-09-08T07:27:06.094Z",
"duration": 9323, "duration": 4060,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 100,
"pendingPercent": 0, "pendingPercent": 0,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "82694328-1203-46e6-a32c-d3b1c6b7394a", "uuid": "46c00aa5-0650-4929-9351-15df11e14e94",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM布袋周期.cy.js", "fullFile": "cypress/e2e/DC-TOM布袋周期.cy.js",
"file": "cypress/e2e/DC-TOM布袋周期.cy.js", "file": "cypress/e2e/DC-TOM布袋周期.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "b51e75af-d83e-4a0f-9007-1d7619b8e67b", "uuid": "a9302c4b-4e6c-40dd-8ed6-faf97dce605f",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,29 @@ ...@@ -38,29 +38,29 @@
"title": "DC-TOM布袋周期", "title": "DC-TOM布袋周期",
"fullTitle": "template spec DC-TOM布袋周期", "fullTitle": "template spec DC-TOM布袋周期",
"timedOut": null, "timedOut": null,
"duration": 9291, "duration": 3992,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {},
"uuid": "3d9d0cab-a514-4bbf-b463-f634a49fddbd", "uuid": "d9615073-4c79-4d4a-bd8a-937f4f828a1d",
"parentUUID": "b51e75af-d83e-4a0f-9007-1d7619b8e67b", "parentUUID": "a9302c4b-4e6c-40dd-8ed6-faf97dce605f",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"3d9d0cab-a514-4bbf-b463-f634a49fddbd" "d9615073-4c79-4d4a-bd8a-937f4f828a1d"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 9291, "duration": 3992,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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:27:08.050Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:28:10.734Z&quot;,&quot;duration&quot;:62684,&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;2473314f-e498-49eb-a21b-ae91bdb447c9&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;c9cf8dcf-09b8-4a8b-9f83-25f09f787a27&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;:21343,&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-submenu-my-loop\&quot;] &gt; .el-sub-menu__title &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-my-loop/myAgency\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-event-name-input\&quot;]&#x27;).clear(&#x27;m&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-event-name-input\&quot;]&#x27;).type(&#x27;脉冲阀&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-search-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-keyword-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-keyword-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#production-line-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-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;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-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;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-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;my-agency-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;my-agency-reset-button\&quot;]&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-process-button\&quot;]&#x27;).click();\ncy.get(&#x27;.el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-dispatch-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;assign-dialog\&quot;] &gt; .el-dialog__header &gt; .el-dialog__headerbtn &gt; .el-icon &gt; svg &gt; path&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-change-bag-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;bag-dialog\&quot;] &gt; .el-dialog__header &gt; .el-dialog__headerbtn &gt; .el-icon &gt; svg&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-my-loop/myDone\&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;] &gt; span&#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;).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;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#production-line-option-1&#x27;).click();\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;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;]&#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;]&#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_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-process-button\&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_1_column_14 &gt; .cell &gt; [data-testid=\&quot;my-agency-process-button\&quot;]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM我的闭环.cy.js:36:7)&quot;},&quot;uuid&quot;:&quot;70d96993-d981-4b98-acb8-57e713b1bffa&quot;,&quot;parentUUID&quot;:&quot;c9cf8dcf-09b8-4a8b-9f83-25f09f787a27&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[],&quot;failures&quot;:[&quot;70d96993-d981-4b98-acb8-57e713b1bffa&quot;],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:21343,&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_152810.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152810.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"stats": { "stats": {
"suites": 1, "suites": 1,
"tests": 1, "tests": 1,
"passes": 1, "passes": 0,
"pending": 0, "pending": 0,
"failures": 0, "failures": 1,
"start": "2025-09-05T09:14:11.270Z", "start": "2025-09-08T07:27:08.050Z",
"end": "2025-09-05T09:14:27.652Z", "end": "2025-09-08T07:28:10.734Z",
"duration": 16382, "duration": 62684,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 0,
"pendingPercent": 0, "pendingPercent": 0,
"other": 0, "other": 0,
"hasOther": false, "hasOther": false,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "04f6c402-c8d8-4920-a47f-1687e8f49da4", "uuid": "2473314f-e498-49eb-a21b-ae91bdb447c9",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM我的闭环.cy.js", "fullFile": "cypress/e2e/DC-TOM我的闭环.cy.js",
"file": "cypress/e2e/DC-TOM我的闭环.cy.js", "file": "cypress/e2e/DC-TOM我的闭环.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "1e49c589-4043-40ee-94b1-76a29300881d", "uuid": "c9cf8dcf-09b8-4a8b-9f83-25f09f787a27",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,33 @@ ...@@ -38,29 +38,33 @@
"title": "DC-TOM我的闭环", "title": "DC-TOM我的闭环",
"fullTitle": "template spec DC-TOM我的闭环", "fullTitle": "template spec DC-TOM我的闭环",
"timedOut": null, "timedOut": null,
"duration": 16346, "duration": 21343,
"state": "passed", "state": "failed",
"speed": "slow", "speed": null,
"pass": true, "pass": false,
"fail": false, "fail": true,
"pending": false, "pending": false,
"context": null, "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-submenu-my-loop\"] > .el-sub-menu__title > span').click();\ncy.get('[data-testid=\"menu-item-my-loop/myAgency\"] > span').click();\ncy.get('[data-testid=\"my-agency-event-name-input\"]').clear('m');\ncy.get('[data-testid=\"my-agency-event-name-input\"]').type('脉冲阀');\ncy.get('[data-testid=\"my-agency-search-button\"]').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-keyword-input\"]').clear('2');\ncy.get('[data-testid=\"my-agency-keyword-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"production-line-option-169108\"] > span').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-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=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-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=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-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=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"]').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-dispatch-button\"]').click();\ncy.get('[data-testid=\"assign-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg > path').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-change-bag-button\"]').click();\ncy.get('[data-testid=\"bag-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg').click();\ncy.get('[data-testid=\"menu-item-my-loop/myDone\"] > 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\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"location-input\"]').clear('2');\ncy.get('[data-testid=\"location-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"production-line-option-169109\"]').click();\ncy.get('[data-testid=\"search-button\"]').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\"] > span').click();\ncy.get('[data-testid=\"search-button\"]').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\"]').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\"] > span').click();\ncy.get('[data-testid=\"menu-submenu-my-loop\"] > .el-sub-menu__title > span').click();\ncy.get('[data-testid=\"menu-item-my-loop/myAgency\"] > span').click();\ncy.get('[data-testid=\"my-agency-event-name-input\"]').clear('m');\ncy.get('[data-testid=\"my-agency-event-name-input\"]').type('脉冲阀');\ncy.get('[data-testid=\"my-agency-search-button\"]').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-keyword-input\"]').clear('2');\ncy.get('[data-testid=\"my-agency-keyword-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-0').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-1').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-2').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"]').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-dispatch-button\"]').click();\ncy.get('[data-testid=\"assign-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg > path').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-change-bag-button\"]').click();\ncy.get('[data-testid=\"bag-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg').click();\ncy.get('[data-testid=\"menu-item-my-loop/myDone\"] > 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\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"location-input\"]').clear('2');\ncy.get('[data-testid=\"location-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"search-button\"]').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\"]').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\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {}, "err": {
"uuid": "74f30247-9081-4780-b48a-cc8e14aa2f72", "message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]`, but never found it.",
"parentUUID": "1e49c589-4043-40ee-94b1-76a29300881d", "estack": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM我的闭环.cy.js:36:7)",
"diff": null
},
"uuid": "70d96993-d981-4b98-acb8-57e713b1bffa",
"parentUUID": "c9cf8dcf-09b8-4a8b-9f83-25f09f787a27",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [],
"74f30247-9081-4780-b48a-cc8e14aa2f72" "failures": [
"70d96993-d981-4b98-acb8-57e713b1bffa"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 16346, "duration": 21343,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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:28:13.131Z&quot;,&quot;end&quot;:&quot;2025-09-08T07:29:15.051Z&quot;,&quot;duration&quot;:61920,&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;d9a22e0d-c649-4454-ba41-7f4ddf5dabeb&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;4ee4ef58-5b18-463e-823d-2fd8b4e15a2d&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;:21208,&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;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-submenu-device-management\&quot;] &gt; .el-sub-menu__title&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-management/device-management\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-production-line-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#equipment-production-line-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-duster-name-input\&quot;]&#x27;).clear(&#x27;2&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-duster-name-input\&quot;]&#x27;).type(&#x27;2#除尘系统&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-name-input\&quot;]&#x27;).clear(&#x27;bu&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-device-name-input\&quot;]&#x27;).type(&#x27;布袋仪表&#x27;);\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#equipment-device-type-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-device-type-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;#equipment-device-type-option-2&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;equipment-reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;:nth-child(1) &gt; .el-table_1_column_11 &gt; .cell &gt; [data-testid=\&quot;equipment-params-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;confirm-button\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-management/suspend-management\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;project-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#project-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 &gt; span&#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;]&#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;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reset-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder&#x27;).click();\ncy.get(&#x27;#reason-category-option-1&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;#reason-category-option-2&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;search-button\&quot;] &gt; span&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;reason-category-select\&quot;] &gt; .el-select__wrapper &gt; .el-select__selection &gt; .el-select__placeholder &gt; span&#x27;).click();\ncy.get(&#x27;#reason-category-option-3&#x27;).click();\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;:nth-child(1) &gt; .el-table_2_column_24 &gt; .cell &gt; [data-testid=\&quot;suspend-alarm-link\&quot;]&#x27;).click();\ncy.get(&#x27;[data-testid=\&quot;menu-item-management/suspend-management\&quot;] &gt; span&#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_1_column_11 &gt; .cell &gt; [data-testid=\&quot;equipment-params-button\&quot;] &gt; span`, 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_1_column_11 &gt; .cell &gt; [data-testid=\&quot;equipment-params-button\&quot;] &gt; span`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM设备管理.cy.js:33:7)&quot;},&quot;uuid&quot;:&quot;5050f3d9-6e8b-4fac-920a-a2b719109546&quot;,&quot;parentUUID&quot;:&quot;4ee4ef58-5b18-463e-823d-2fd8b4e15a2d&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[],&quot;failures&quot;:[&quot;5050f3d9-6e8b-4fac-920a-a2b719109546&quot;],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:21208,&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_152915.json&quot;,&quot;htmlFile&quot;:&quot;/Users/cw/Desktop/BME/dc-tom/cypress/reports/mochawesome_09082025_152915.html&quot;}"><div id="report"></div><script src="assets/app.js"></script></body></html>
\ No newline at end of file
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"stats": { "stats": {
"suites": 1, "suites": 1,
"tests": 1, "tests": 1,
"passes": 1, "passes": 0,
"pending": 0, "pending": 0,
"failures": 0, "failures": 1,
"start": "2025-09-05T09:14:29.504Z", "start": "2025-09-08T07:28:13.131Z",
"end": "2025-09-05T09:14:44.218Z", "end": "2025-09-08T07:29:15.051Z",
"duration": 14714, "duration": 61920,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 0,
"pendingPercent": 0, "pendingPercent": 0,
"other": 0, "other": 0,
"hasOther": false, "hasOther": false,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "884c83cf-f1f1-44f1-8923-f06e5922d96c", "uuid": "d9a22e0d-c649-4454-ba41-7f4ddf5dabeb",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM设备管理.cy.js", "fullFile": "cypress/e2e/DC-TOM设备管理.cy.js",
"file": "cypress/e2e/DC-TOM设备管理.cy.js", "file": "cypress/e2e/DC-TOM设备管理.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "064a2abd-0ab7-40ee-aea7-7e33c0ac53bb", "uuid": "4ee4ef58-5b18-463e-823d-2fd8b4e15a2d",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,33 @@ ...@@ -38,29 +38,33 @@
"title": "DC-TOM设备管理", "title": "DC-TOM设备管理",
"fullTitle": "template spec DC-TOM设备管理", "fullTitle": "template spec DC-TOM设备管理",
"timedOut": null, "timedOut": null,
"duration": 14684, "duration": 21208,
"state": "passed", "state": "failed",
"speed": "slow", "speed": null,
"pass": true, "pass": false,
"fail": false, "fail": true,
"pending": false, "pending": false,
"context": null, "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('[data-testid=\"menu-submenu-device-management\"] > .el-sub-menu__title').click();\ncy.get('[data-testid=\"menu-item-management/device-management\"] > span').click();\ncy.get('[data-testid=\"equipment-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"equipment-production-line-option-169109\"] > span').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-duster-name-input\"]').clear('2');\ncy.get('[data-testid=\"equipment-duster-name-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-name-input\"]').clear('bu');\ncy.get('[data-testid=\"equipment-device-name-input\"]').type('布袋仪表');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"equipment-device-type-option-10001\"] > span').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"equipment-device-type-option-10002\"] > span').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span').click();\ncy.get('[data-testid=\"confirm-button\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').click();\ncy.get('[data-testid=\"project-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"project-option-26\"]').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 > span').click();\ncy.get('[data-testid=\"device-type-option-200001\"] > span').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\"] > span').click();\ncy.get('[data-testid=\"search-button\"]').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\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"reason-category-option-1\"] > span').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"reason-category-option-2\"] > span').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"reason-category-option-3\"]').click();\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_2_column_24 > .cell > [data-testid=\"suspend-alarm-link\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').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('[data-testid=\"menu-submenu-device-management\"] > .el-sub-menu__title').click();\ncy.get('[data-testid=\"menu-item-management/device-management\"] > span').click();\ncy.get('[data-testid=\"equipment-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#equipment-production-line-option-1').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-duster-name-input\"]').clear('2');\ncy.get('[data-testid=\"equipment-duster-name-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-name-input\"]').clear('bu');\ncy.get('[data-testid=\"equipment-device-name-input\"]').type('布袋仪表');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#equipment-device-type-option-1').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('#equipment-device-type-option-2').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span').click();\ncy.get('[data-testid=\"confirm-button\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').click();\ncy.get('[data-testid=\"project-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#project-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 > span').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\"]').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\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#reason-category-option-1').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('#reason-category-option-2').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('#reason-category-option-3').click();\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_2_column_24 > .cell > [data-testid=\"suspend-alarm-link\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').click();\n/* ==== End Cypress Studio ==== */",
"err": {}, "err": {
"uuid": "1d67b62c-5e23-480b-85e6-0cbebf824751", "message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span`, but never found it.",
"parentUUID": "064a2abd-0ab7-40ee-aea7-7e33c0ac53bb", "estack": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM设备管理.cy.js:33:7)",
"diff": null
},
"uuid": "5050f3d9-6e8b-4fac-920a-a2b719109546",
"parentUUID": "4ee4ef58-5b18-463e-823d-2fd8b4e15a2d",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [],
"1d67b62c-5e23-480b-85e6-0cbebf824751" "failures": [
"5050f3d9-6e8b-4fac-920a-a2b719109546"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 14684, "duration": 21208,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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: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 @@ ...@@ -5,9 +5,9 @@
"passes": 1, "passes": 1,
"pending": 0, "pending": 0,
"failures": 0, "failures": 0,
"start": "2025-09-05T09:14:46.055Z", "start": "2025-09-08T07:29:17.007Z",
"end": "2025-09-05T09:15:20.726Z", "end": "2025-09-08T07:29:25.275Z",
"duration": 34671, "duration": 8268,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 100,
"pendingPercent": 0, "pendingPercent": 0,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "dd6ba9fa-ac32-444c-89d5-d4ad9e119028", "uuid": "9a3d6a1d-e23a-479c-be90-469c1d029f46",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM除尘器总览.cy.js", "fullFile": "cypress/e2e/DC-TOM除尘器总览.cy.js",
"file": "cypress/e2e/DC-TOM除尘器总览.cy.js", "file": "cypress/e2e/DC-TOM除尘器总览.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "d2a3fe02-0772-494f-ae24-d4367f14ee75", "uuid": "15b35d39-c949-4962-916a-439fc99ad445",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,29 @@ ...@@ -38,29 +38,29 @@
"title": "DC-TOM除尘器总览", "title": "DC-TOM除尘器总览",
"fullTitle": "template spec DC-TOM除尘器总览", "fullTitle": "template spec DC-TOM除尘器总览",
"timedOut": null, "timedOut": null,
"duration": 5418, "duration": 8232,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "medium",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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": {}, "err": {},
"uuid": "aa19fb55-d715-4105-be1a-fa564bf05668", "uuid": "9e087a58-4e5a-464a-99ca-a45225d30a8c",
"parentUUID": "d2a3fe02-0772-494f-ae24-d4367f14ee75", "parentUUID": "15b35d39-c949-4962-916a-439fc99ad445",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"aa19fb55-d715-4105-be1a-fa564bf05668" "9e087a58-4e5a-464a-99ca-a45225d30a8c"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 5418, "duration": 8232,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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 @@ ...@@ -5,9 +5,9 @@
"passes": 1, "passes": 1,
"pending": 0, "pending": 0,
"failures": 0, "failures": 0,
"start": "2025-09-05T09:15:22.566Z", "start": "2025-09-08T07:29:27.217Z",
"end": "2025-09-05T09:15:35.272Z", "end": "2025-09-08T07:29:31.614Z",
"duration": 12706, "duration": 4397,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 100, "passPercent": 100,
"pendingPercent": 0, "pendingPercent": 0,
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
}, },
"results": [ "results": [
{ {
"uuid": "6fc57a6d-40df-4a99-ae1f-3d3b36374fe9", "uuid": "b6948d52-272e-4d81-ac81-82ba4c8d275e",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM除尘器监控.cy.js", "fullFile": "cypress/e2e/DC-TOM除尘器监控.cy.js",
"file": "cypress/e2e/DC-TOM除尘器监控.cy.js", "file": "cypress/e2e/DC-TOM除尘器监控.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "4dd84c5d-b1fa-4c2a-b2bc-834a46300a33", "uuid": "3c02a0ed-21d8-43b6-a665-73256a08f491",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,29 @@ ...@@ -38,29 +38,29 @@
"title": "DC-TOM除尘器监控", "title": "DC-TOM除尘器监控",
"fullTitle": "template spec DC-TOM除尘器监控", "fullTitle": "template spec DC-TOM除尘器监控",
"timedOut": null, "timedOut": null,
"duration": 12674, "duration": 4325,
"state": "passed", "state": "passed",
"speed": "slow", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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": {}, "err": {},
"uuid": "735419d1-1a65-4a5c-b18f-302dadca9c7d", "uuid": "54611ea2-fdc4-47a7-9570-aae7afc5fbb4",
"parentUUID": "4dd84c5d-b1fa-4c2a-b2bc-834a46300a33", "parentUUID": "3c02a0ed-21d8-43b6-a665-73256a08f491",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"735419d1-1a65-4a5c-b18f-302dadca9c7d" "54611ea2-fdc4-47a7-9570-aae7afc5fbb4"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 12674, "duration": 4325,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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 @@ ...@@ -2,14 +2,14 @@
"stats": { "stats": {
"suites": 1, "suites": 1,
"tests": 1, "tests": 1,
"passes": 0, "passes": 1,
"pending": 0, "pending": 0,
"failures": 1, "failures": 0,
"start": "2025-09-05T09:15:37.082Z", "start": "2025-09-08T07:29:54.124Z",
"end": "2025-09-05T09:16:33.426Z", "end": "2025-09-08T07:29:58.043Z",
"duration": 56344, "duration": 3919,
"testsRegistered": 1, "testsRegistered": 1,
"passPercent": 0, "passPercent": 100,
"pendingPercent": 0, "pendingPercent": 0,
"other": 0, "other": 0,
"hasOther": false, "hasOther": false,
...@@ -18,53 +18,49 @@ ...@@ -18,53 +18,49 @@
}, },
"results": [ "results": [
{ {
"uuid": "9e154ce8-d8ec-4733-a4cf-5da52eadd210", "uuid": "0f8f63a7-18f9-4eb6-bb7f-07ffa7458889",
"title": "", "title": "",
"fullFile": "cypress/e2e/generic-login.cy.js", "fullFile": "cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js",
"file": "cypress/e2e/generic-login.cy.js", "file": "cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js",
"beforeHooks": [], "beforeHooks": [],
"afterHooks": [], "afterHooks": [],
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "34c50169-b1a9-4310-b894-85d2cf7ddf83", "uuid": "ae63e46f-672e-4771-bd70-4fde86c6773f",
"title": "通用登录测试", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
"beforeHooks": [], "beforeHooks": [],
"afterHooks": [], "afterHooks": [],
"tests": [ "tests": [
{ {
"title": "应该能够成功登录", "title": "EC-TOMPIKAR-烟尘识别数据台账",
"fullTitle": "通用登录测试 应该能够成功登录", "fullTitle": "template spec EC-TOMPIKAR-烟尘识别数据台账",
"timedOut": null, "timedOut": null,
"duration": 15847, "duration": 3884,
"state": "failed", "state": "passed",
"speed": null, "speed": "fast",
"pass": false, "pass": true,
"fail": true, "fail": false,
"pending": false, "pending": false,
"context": null, "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');", "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": { "err": {},
"message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid=\"login-captcha-input\"]`, but never found it.", "uuid": "4064df67-b066-47b4-9933-ef6b79aaf121",
"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)", "parentUUID": "ae63e46f-672e-4771-bd70-4fde86c6773f",
"diff": null
},
"uuid": "63910def-2fad-4368-8a38-85530dae1956",
"parentUUID": "34c50169-b1a9-4310-b894-85d2cf7ddf83",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [], "passes": [
"failures": [ "4064df67-b066-47b4-9933-ef6b79aaf121"
"63910def-2fad-4368-8a38-85530dae1956"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 15847, "duration": 3884,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_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 source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"stats": { "stats": {
"suites": 9, "suites": 11,
"tests": 10, "tests": 11,
"passes": 9, "passes": 8,
"pending": 0, "pending": 0,
"failures": 1, "failures": 3,
"testsRegistered": 10, "testsRegistered": 11,
"passPercent": 90, "passPercent": 72.72727272727273,
"pendingPercent": 0, "pendingPercent": 0,
"other": 0, "other": 0,
"hasOther": false, "hasOther": false,
"skipped": 0, "skipped": 0,
"hasSkipped": false, "hasSkipped": false,
"start": "2025-09-05T09:13:35.713Z", "start": "2025-09-08T07:25:51.206Z",
"end": "2025-09-05T09:16:46.675Z", "end": "2025-09-08T07:30:13.829Z",
"duration": 190962 "duration": 262623
}, },
"results": [ "results": [
{ {
"uuid": "d8f6eaca-1ce1-4f1a-9f22-1297946d306d", "uuid": "fb65e0c2-f4c5-43c0-9948-958cdd8332bc",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM首页.cy.js", "fullFile": "cypress/e2e/DC-TOM首页.cy.js",
"file": "cypress/e2e/DC-TOM首页.cy.js", "file": "cypress/e2e/DC-TOM首页.cy.js",
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "388aca86-112a-4be7-b45f-cd18b0c19a33", "uuid": "8e4725d5-1564-432b-894b-b6d597f7f00d",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -38,29 +38,29 @@ ...@@ -38,29 +38,29 @@
"title": "DC-TOM首页", "title": "DC-TOM首页",
"fullTitle": "template spec DC-TOM首页", "fullTitle": "template spec DC-TOM首页",
"timedOut": null, "timedOut": null,
"duration": 9289, "duration": 4169,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {},
"uuid": "9107db13-f30e-481c-a84b-89c1a7b80a52", "uuid": "dd120b75-9731-4ca0-bb70-351241ac92c4",
"parentUUID": "388aca86-112a-4be7-b45f-cd18b0c19a33", "parentUUID": "8e4725d5-1564-432b-894b-b6d597f7f00d",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"9107db13-f30e-481c-a84b-89c1a7b80a52" "dd120b75-9731-4ca0-bb70-351241ac92c4"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 9289, "duration": 4169,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "a73c3450-f7e8-4f0e-9f98-93b74a54f33d", "uuid": "2f0e7d7f-8ef8-4788-ad9a-59151867cf32",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM告警总览.cy.js", "fullFile": "cypress/e2e/DC-TOM告警总览.cy.js",
"file": "cypress/e2e/DC-TOM告警总览.cy.js", "file": "cypress/e2e/DC-TOM告警总览.cy.js",
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "f84ffb0e-4f65-4078-a603-bcabe400bb80", "uuid": "97eb7d0b-d060-4754-b99d-a12ff8d2b85e",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -96,29 +96,33 @@ ...@@ -96,29 +96,33 @@
"title": "DC-TOM告警总览", "title": "DC-TOM告警总览",
"fullTitle": "template spec DC-TOM告警总览", "fullTitle": "template spec DC-TOM告警总览",
"timedOut": null, "timedOut": null,
"duration": 11238, "duration": 20761,
"state": "passed", "state": "failed",
"speed": "slow", "speed": null,
"pass": true, "pass": false,
"fail": false, "fail": true,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {
"uuid": "29a1c045-c66f-4807-82a3-8bb3153ba7b4", "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.",
"parentUUID": "f84ffb0e-4f65-4078-a603-bcabe400bb80", "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, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [],
"29a1c045-c66f-4807-82a3-8bb3153ba7b4" "failures": [
"f2194bfd-a186-4282-a2e1-265f74e02f98"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 11238, "duration": 20761,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -134,7 +138,7 @@ ...@@ -134,7 +138,7 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "82694328-1203-46e6-a32c-d3b1c6b7394a", "uuid": "46c00aa5-0650-4929-9351-15df11e14e94",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM布袋周期.cy.js", "fullFile": "cypress/e2e/DC-TOM布袋周期.cy.js",
"file": "cypress/e2e/DC-TOM布袋周期.cy.js", "file": "cypress/e2e/DC-TOM布袋周期.cy.js",
...@@ -143,7 +147,7 @@ ...@@ -143,7 +147,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "b51e75af-d83e-4a0f-9007-1d7619b8e67b", "uuid": "a9302c4b-4e6c-40dd-8ed6-faf97dce605f",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -154,29 +158,29 @@ ...@@ -154,29 +158,29 @@
"title": "DC-TOM布袋周期", "title": "DC-TOM布袋周期",
"fullTitle": "template spec DC-TOM布袋周期", "fullTitle": "template spec DC-TOM布袋周期",
"timedOut": null, "timedOut": null,
"duration": 9291, "duration": 3992,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {},
"uuid": "3d9d0cab-a514-4bbf-b463-f634a49fddbd", "uuid": "d9615073-4c79-4d4a-bd8a-937f4f828a1d",
"parentUUID": "b51e75af-d83e-4a0f-9007-1d7619b8e67b", "parentUUID": "a9302c4b-4e6c-40dd-8ed6-faf97dce605f",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"3d9d0cab-a514-4bbf-b463-f634a49fddbd" "d9615073-4c79-4d4a-bd8a-937f4f828a1d"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 9291, "duration": 3992,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -192,7 +196,7 @@ ...@@ -192,7 +196,7 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "04f6c402-c8d8-4920-a47f-1687e8f49da4", "uuid": "2473314f-e498-49eb-a21b-ae91bdb447c9",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM我的闭环.cy.js", "fullFile": "cypress/e2e/DC-TOM我的闭环.cy.js",
"file": "cypress/e2e/DC-TOM我的闭环.cy.js", "file": "cypress/e2e/DC-TOM我的闭环.cy.js",
...@@ -201,7 +205,7 @@ ...@@ -201,7 +205,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "1e49c589-4043-40ee-94b1-76a29300881d", "uuid": "c9cf8dcf-09b8-4a8b-9f83-25f09f787a27",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -212,29 +216,33 @@ ...@@ -212,29 +216,33 @@
"title": "DC-TOM我的闭环", "title": "DC-TOM我的闭环",
"fullTitle": "template spec DC-TOM我的闭环", "fullTitle": "template spec DC-TOM我的闭环",
"timedOut": null, "timedOut": null,
"duration": 16346, "duration": 21343,
"state": "passed", "state": "failed",
"speed": "slow", "speed": null,
"pass": true, "pass": false,
"fail": false, "fail": true,
"pending": false, "pending": false,
"context": null, "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-submenu-my-loop\"] > .el-sub-menu__title > span').click();\ncy.get('[data-testid=\"menu-item-my-loop/myAgency\"] > span').click();\ncy.get('[data-testid=\"my-agency-event-name-input\"]').clear('m');\ncy.get('[data-testid=\"my-agency-event-name-input\"]').type('脉冲阀');\ncy.get('[data-testid=\"my-agency-search-button\"]').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-keyword-input\"]').clear('2');\ncy.get('[data-testid=\"my-agency-keyword-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"production-line-option-169108\"] > span').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-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=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-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=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-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=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"]').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-dispatch-button\"]').click();\ncy.get('[data-testid=\"assign-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg > path').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-change-bag-button\"]').click();\ncy.get('[data-testid=\"bag-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg').click();\ncy.get('[data-testid=\"menu-item-my-loop/myDone\"] > 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\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"location-input\"]').clear('2');\ncy.get('[data-testid=\"location-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"production-line-option-169109\"]').click();\ncy.get('[data-testid=\"search-button\"]').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\"] > span').click();\ncy.get('[data-testid=\"search-button\"]').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\"]').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\"] > span').click();\ncy.get('[data-testid=\"menu-submenu-my-loop\"] > .el-sub-menu__title > span').click();\ncy.get('[data-testid=\"menu-item-my-loop/myAgency\"] > span').click();\ncy.get('[data-testid=\"my-agency-event-name-input\"]').clear('m');\ncy.get('[data-testid=\"my-agency-event-name-input\"]').type('脉冲阀');\ncy.get('[data-testid=\"my-agency-search-button\"]').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-keyword-input\"]').clear('2');\ncy.get('[data-testid=\"my-agency-keyword-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-0').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-1').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#device-type-option-2').click();\ncy.get('[data-testid=\"my-agency-search-button\"] > span').click();\ncy.get('[data-testid=\"my-agency-reset-button\"]').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]').click();\ncy.get('.el-dialog__headerbtn > .el-icon > svg').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-dispatch-button\"]').click();\ncy.get('[data-testid=\"assign-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg > path').click();\ncy.get(':nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-change-bag-button\"]').click();\ncy.get('[data-testid=\"bag-dialog\"] > .el-dialog__header > .el-dialog__headerbtn > .el-icon > svg').click();\ncy.get('[data-testid=\"menu-item-my-loop/myDone\"] > 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\"] > span').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"location-input\"]').clear('2');\ncy.get('[data-testid=\"location-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#production-line-option-1').click();\ncy.get('[data-testid=\"search-button\"]').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\"]').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\"]').click();\n/* ==== End Cypress Studio ==== */",
"err": {}, "err": {
"uuid": "74f30247-9081-4780-b48a-cc8e14aa2f72", "message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]`, but never found it.",
"parentUUID": "1e49c589-4043-40ee-94b1-76a29300881d", "estack": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_14 > .cell > [data-testid=\"my-agency-process-button\"]`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM我的闭环.cy.js:36:7)",
"diff": null
},
"uuid": "70d96993-d981-4b98-acb8-57e713b1bffa",
"parentUUID": "c9cf8dcf-09b8-4a8b-9f83-25f09f787a27",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [],
"74f30247-9081-4780-b48a-cc8e14aa2f72" "failures": [
"70d96993-d981-4b98-acb8-57e713b1bffa"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 16346, "duration": 21343,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -250,7 +258,7 @@ ...@@ -250,7 +258,7 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "884c83cf-f1f1-44f1-8923-f06e5922d96c", "uuid": "d9a22e0d-c649-4454-ba41-7f4ddf5dabeb",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM设备管理.cy.js", "fullFile": "cypress/e2e/DC-TOM设备管理.cy.js",
"file": "cypress/e2e/DC-TOM设备管理.cy.js", "file": "cypress/e2e/DC-TOM设备管理.cy.js",
...@@ -259,7 +267,7 @@ ...@@ -259,7 +267,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "064a2abd-0ab7-40ee-aea7-7e33c0ac53bb", "uuid": "4ee4ef58-5b18-463e-823d-2fd8b4e15a2d",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -270,29 +278,33 @@ ...@@ -270,29 +278,33 @@
"title": "DC-TOM设备管理", "title": "DC-TOM设备管理",
"fullTitle": "template spec DC-TOM设备管理", "fullTitle": "template spec DC-TOM设备管理",
"timedOut": null, "timedOut": null,
"duration": 14684, "duration": 21208,
"state": "passed", "state": "failed",
"speed": "slow", "speed": null,
"pass": true, "pass": false,
"fail": false, "fail": true,
"pending": false, "pending": false,
"context": null, "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('[data-testid=\"menu-submenu-device-management\"] > .el-sub-menu__title').click();\ncy.get('[data-testid=\"menu-item-management/device-management\"] > span').click();\ncy.get('[data-testid=\"equipment-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"equipment-production-line-option-169109\"] > span').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-duster-name-input\"]').clear('2');\ncy.get('[data-testid=\"equipment-duster-name-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-name-input\"]').clear('bu');\ncy.get('[data-testid=\"equipment-device-name-input\"]').type('布袋仪表');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"equipment-device-type-option-10001\"] > span').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"equipment-device-type-option-10002\"] > span').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span').click();\ncy.get('[data-testid=\"confirm-button\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').click();\ncy.get('[data-testid=\"project-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"project-option-26\"]').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 > span').click();\ncy.get('[data-testid=\"device-type-option-200001\"] > span').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\"] > span').click();\ncy.get('[data-testid=\"search-button\"]').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\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('[data-testid=\"reason-category-option-1\"] > span').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"reason-category-option-2\"] > span').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('[data-testid=\"reason-category-option-3\"]').click();\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_2_column_24 > .cell > [data-testid=\"suspend-alarm-link\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').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('[data-testid=\"menu-submenu-device-management\"] > .el-sub-menu__title').click();\ncy.get('[data-testid=\"menu-item-management/device-management\"] > span').click();\ncy.get('[data-testid=\"equipment-production-line-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#equipment-production-line-option-1').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-duster-name-input\"]').clear('2');\ncy.get('[data-testid=\"equipment-duster-name-input\"]').type('2#除尘系统');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-name-input\"]').clear('bu');\ncy.get('[data-testid=\"equipment-device-name-input\"]').type('布袋仪表');\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#equipment-device-type-option-1').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-device-type-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('#equipment-device-type-option-2').click();\ncy.get('[data-testid=\"equipment-search-button\"] > span').click();\ncy.get('[data-testid=\"equipment-reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span').click();\ncy.get('[data-testid=\"confirm-button\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').click();\ncy.get('[data-testid=\"project-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#project-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 > span').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\"]').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\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder').click();\ncy.get('#reason-category-option-1').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('#reason-category-option-2').click();\ncy.get('[data-testid=\"search-button\"] > span').click();\ncy.get('[data-testid=\"reason-category-select\"] > .el-select__wrapper > .el-select__selection > .el-select__placeholder > span').click();\ncy.get('#reason-category-option-3').click();\ncy.get('[data-testid=\"search-button\"]').click();\ncy.get('[data-testid=\"reset-button\"] > span').click();\ncy.get(':nth-child(1) > .el-table_2_column_24 > .cell > [data-testid=\"suspend-alarm-link\"]').click();\ncy.get('[data-testid=\"menu-item-management/suspend-management\"] > span').click();\n/* ==== End Cypress Studio ==== */",
"err": {}, "err": {
"uuid": "1d67b62c-5e23-480b-85e6-0cbebf824751", "message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span`, but never found it.",
"parentUUID": "064a2abd-0ab7-40ee-aea7-7e33c0ac53bb", "estack": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_11 > .cell > [data-testid=\"equipment-params-button\"] > span`, but never found it.\n at Context.eval (webpack://cypress-testing-tool/./cypress/e2e/DC-TOM设备管理.cy.js:33:7)",
"diff": null
},
"uuid": "5050f3d9-6e8b-4fac-920a-a2b719109546",
"parentUUID": "4ee4ef58-5b18-463e-823d-2fd8b4e15a2d",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [],
"1d67b62c-5e23-480b-85e6-0cbebf824751" "failures": [
"5050f3d9-6e8b-4fac-920a-a2b719109546"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 14684, "duration": 21208,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -308,7 +320,7 @@ ...@@ -308,7 +320,7 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "dd6ba9fa-ac32-444c-89d5-d4ad9e119028", "uuid": "9a3d6a1d-e23a-479c-be90-469c1d029f46",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM除尘器总览.cy.js", "fullFile": "cypress/e2e/DC-TOM除尘器总览.cy.js",
"file": "cypress/e2e/DC-TOM除尘器总览.cy.js", "file": "cypress/e2e/DC-TOM除尘器总览.cy.js",
...@@ -317,7 +329,7 @@ ...@@ -317,7 +329,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "d2a3fe02-0772-494f-ae24-d4367f14ee75", "uuid": "15b35d39-c949-4962-916a-439fc99ad445",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -328,29 +340,29 @@ ...@@ -328,29 +340,29 @@
"title": "DC-TOM除尘器总览", "title": "DC-TOM除尘器总览",
"fullTitle": "template spec DC-TOM除尘器总览", "fullTitle": "template spec DC-TOM除尘器总览",
"timedOut": null, "timedOut": null,
"duration": 5418, "duration": 8232,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "medium",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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": {}, "err": {},
"uuid": "aa19fb55-d715-4105-be1a-fa564bf05668", "uuid": "9e087a58-4e5a-464a-99ca-a45225d30a8c",
"parentUUID": "d2a3fe02-0772-494f-ae24-d4367f14ee75", "parentUUID": "15b35d39-c949-4962-916a-439fc99ad445",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"aa19fb55-d715-4105-be1a-fa564bf05668" "9e087a58-4e5a-464a-99ca-a45225d30a8c"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 5418, "duration": 8232,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -366,7 +378,7 @@ ...@@ -366,7 +378,7 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "6fc57a6d-40df-4a99-ae1f-3d3b36374fe9", "uuid": "b6948d52-272e-4d81-ac81-82ba4c8d275e",
"title": "", "title": "",
"fullFile": "cypress/e2e/DC-TOM除尘器监控.cy.js", "fullFile": "cypress/e2e/DC-TOM除尘器监控.cy.js",
"file": "cypress/e2e/DC-TOM除尘器监控.cy.js", "file": "cypress/e2e/DC-TOM除尘器监控.cy.js",
...@@ -375,7 +387,7 @@ ...@@ -375,7 +387,7 @@
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "4dd84c5d-b1fa-4c2a-b2bc-834a46300a33", "uuid": "3c02a0ed-21d8-43b6-a665-73256a08f491",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -386,29 +398,29 @@ ...@@ -386,29 +398,29 @@
"title": "DC-TOM除尘器监控", "title": "DC-TOM除尘器监控",
"fullTitle": "template spec DC-TOM除尘器监控", "fullTitle": "template spec DC-TOM除尘器监控",
"timedOut": null, "timedOut": null,
"duration": 12674, "duration": 4325,
"state": "passed", "state": "passed",
"speed": "slow", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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": {}, "err": {},
"uuid": "735419d1-1a65-4a5c-b18f-302dadca9c7d", "uuid": "54611ea2-fdc4-47a7-9570-aae7afc5fbb4",
"parentUUID": "4dd84c5d-b1fa-4c2a-b2bc-834a46300a33", "parentUUID": "3c02a0ed-21d8-43b6-a665-73256a08f491",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"735419d1-1a65-4a5c-b18f-302dadca9c7d" "54611ea2-fdc4-47a7-9570-aae7afc5fbb4"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 12674, "duration": 4325,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -424,53 +436,49 @@ ...@@ -424,53 +436,49 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "9e154ce8-d8ec-4733-a4cf-5da52eadd210", "uuid": "867937a3-b1fe-45ed-8741-2de81f08a943",
"title": "", "title": "",
"fullFile": "cypress/e2e/generic-login.cy.js", "fullFile": "cypress/e2e/EC-TOME-Net.cy.js",
"file": "cypress/e2e/generic-login.cy.js", "file": "cypress/e2e/EC-TOME-Net.cy.js",
"beforeHooks": [], "beforeHooks": [],
"afterHooks": [], "afterHooks": [],
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "34c50169-b1a9-4310-b894-85d2cf7ddf83", "uuid": "13208c9f-60ac-4eec-99dc-0b0831b6fbec",
"title": "通用登录测试", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
"beforeHooks": [], "beforeHooks": [],
"afterHooks": [], "afterHooks": [],
"tests": [ "tests": [
{ {
"title": "应该能够成功登录", "title": "EC-TOME-Net",
"fullTitle": "通用登录测试 应该能够成功登录", "fullTitle": "template spec EC-TOME-Net",
"timedOut": null, "timedOut": null,
"duration": 15847, "duration": 18472,
"state": "failed", "state": "passed",
"speed": null, "speed": "slow",
"pass": false, "pass": true,
"fail": true, "fail": false,
"pending": false, "pending": false,
"context": null, "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');", "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": { "err": {},
"message": "AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid=\"login-captcha-input\"]`, but never found it.", "uuid": "8183d391-bd84-41f4-85cf-4cfb1333584d",
"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)", "parentUUID": "13208c9f-60ac-4eec-99dc-0b0831b6fbec",
"diff": null
},
"uuid": "63910def-2fad-4368-8a38-85530dae1956",
"parentUUID": "34c50169-b1a9-4310-b894-85d2cf7ddf83",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [], "passes": [
"failures": [ "8183d391-bd84-41f4-85cf-4cfb1333584d"
"63910def-2fad-4368-8a38-85530dae1956"
], ],
"failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 15847, "duration": 18472,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
...@@ -486,16 +494,16 @@ ...@@ -486,16 +494,16 @@
"_timeout": 2000 "_timeout": 2000
}, },
{ {
"uuid": "ce7493f3-9c1f-4ea0-8c76-e43389b35e93", "uuid": "0f8f63a7-18f9-4eb6-bb7f-07ffa7458889",
"title": "", "title": "",
"fullFile": "cypress/e2e/spec.cy.js", "fullFile": "cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js",
"file": "cypress/e2e/spec.cy.js", "file": "cypress/e2e/EC-TOMPIKAR烟尘识别数据台账.cy.js",
"beforeHooks": [], "beforeHooks": [],
"afterHooks": [], "afterHooks": [],
"tests": [], "tests": [],
"suites": [ "suites": [
{ {
"uuid": "e6ec1852-0456-4119-9328-e8f1c0cace39", "uuid": "ae63e46f-672e-4771-bd70-4fde86c6773f",
"title": "template spec", "title": "template spec",
"fullFile": "", "fullFile": "",
"file": "", "file": "",
...@@ -503,51 +511,148 @@ ...@@ -503,51 +511,148 @@
"afterHooks": [], "afterHooks": [],
"tests": [ "tests": [
{ {
"title": "test", "title": "EC-TOMPIKAR-烟尘识别数据台账",
"fullTitle": "template spec test", "fullTitle": "template spec EC-TOMPIKAR-烟尘识别数据台账",
"timedOut": null, "timedOut": null,
"duration": 8842, "duration": 3884,
"state": "passed", "state": "passed",
"speed": "medium", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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": {}, "err": {},
"uuid": "d0c58059-561d-40bb-a05e-03f3e52e51ec", "uuid": "4064df67-b066-47b4-9933-ef6b79aaf121",
"parentUUID": "e6ec1852-0456-4119-9328-e8f1c0cace39", "parentUUID": "ae63e46f-672e-4771-bd70-4fde86c6773f",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
}, }
],
"suites": [],
"passes": [
"4064df67-b066-47b4-9933-ef6b79aaf121"
],
"failures": [],
"pending": [],
"skipped": [],
"duration": 3884,
"root": false,
"rootEmpty": false,
"_timeout": 2000
}
],
"passes": [],
"failures": [],
"pending": [],
"skipped": [],
"duration": 0,
"root": true,
"rootEmpty": true,
"_timeout": 2000
},
{
"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": "test2", "title": "准时化",
"fullTitle": "template spec test2", "fullTitle": "template spec 准时化",
"timedOut": null, "timedOut": null,
"duration": 2488, "duration": 4076,
"state": "passed", "state": "passed",
"speed": "fast", "speed": "fast",
"pass": true, "pass": true,
"fail": false, "fail": false,
"pending": false, "pending": false,
"context": null, "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 ==== */", "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
},
{
"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": {}, "err": {},
"uuid": "c6d665d5-ceb5-4db0-ae13-d06a9dffb1c9", "uuid": "ddf93fb1-727d-4eea-afcf-5706bff61f03",
"parentUUID": "e6ec1852-0456-4119-9328-e8f1c0cace39", "parentUUID": "9d61cf97-7268-426e-9d09-94546bd60ace",
"isHook": false, "isHook": false,
"skipped": false "skipped": false
} }
], ],
"suites": [], "suites": [],
"passes": [ "passes": [
"d0c58059-561d-40bb-a05e-03f3e52e51ec", "ddf93fb1-727d-4eea-afcf-5706bff61f03"
"c6d665d5-ceb5-4db0-ae13-d06a9dffb1c9"
], ],
"failures": [], "failures": [],
"pending": [], "pending": [],
"skipped": [], "skipped": [],
"duration": 11330, "duration": 7693,
"root": false, "root": false,
"rootEmpty": false, "rootEmpty": false,
"_timeout": 2000 "_timeout": 2000
......
...@@ -76,21 +76,23 @@ ...@@ -76,21 +76,23 @@
.legend-item.pending .legend-color { background-color: #ff9800; } .legend-item.pending .legend-color { background-color: #ff9800; }
.chart { .chart {
display: flex; display: flex;
gap: 30px; gap: 10px;
overflow-x: auto; overflow-x: auto;
padding: 20px 0; padding: 20px 0;
flex-wrap: wrap;
} }
.chart-bar { .chart-bar {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
min-width: 80px; width: 80px;
} }
.bar-label { .bar-label {
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
font-size: 12px; font-size: 11px;
height: 40px; line-height: 12px;
height: 40px;
} }
.bar-container { .bar-container {
display: flex; display: flex;
...@@ -202,18 +204,18 @@ ...@@ -202,18 +204,18 @@
<body> <body>
<div class="header"> <div class="header">
<h1>测试报告汇总</h1> <h1>测试报告汇总</h1>
<p>生成时间: 2025/9/5 17:16:49</p> <p>生成时间: 2025/9/8 15:30:15</p>
</div> </div>
<div class="summary-stats"> <div class="summary-stats">
<div class="stat-card passes"> <div class="stat-card passes">
<div>通过测试</div> <div>通过测试</div>
<div class="number">9</div> <div class="number">8</div>
<div>90.00%</div> <div>72.73%</div>
</div> </div>
<div class="stat-card failures"> <div class="stat-card failures">
<div>失败测试</div> <div>失败测试</div>
<div class="number">1</div> <div class="number">3</div>
</div> </div>
<div class="stat-card pending"> <div class="stat-card pending">
<div>待定测试</div> <div>待定测试</div>
...@@ -221,7 +223,7 @@ ...@@ -221,7 +223,7 @@
</div> </div>
<div class="stat-card total"> <div class="stat-card total">
<div>总测试数</div> <div>总测试数</div>
<div class="number">10</div> <div class="number">11</div>
</div> </div>
</div> </div>
...@@ -240,7 +242,7 @@ ...@@ -240,7 +242,7 @@
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM首页.cy.js</div> <div class="bar-label">DC-TOM首页.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
...@@ -250,17 +252,17 @@ ...@@ -250,17 +252,17 @@
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM告警总览.cy.js</div> <div class="bar-label">DC-TOM告警总览.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 0%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 100%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
<div class="bar-value">1/0/0</div> <div class="bar-value">0/1/0</div>
</div> </div>
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM布袋周期.cy.js</div> <div class="bar-label">DC-TOM布袋周期.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
...@@ -270,7 +272,27 @@ ...@@ -270,7 +272,27 @@
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM我的闭环.cy.js</div> <div class="bar-label">DC-TOM我的闭环.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 0%;"></div>
<div class="bar-segment failures" style="height: 100%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">0/1/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">DC-TOM设备管理.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 0%;"></div>
<div class="bar-segment failures" style="height: 100%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">0/1/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">DC-TOM除尘器总览.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
...@@ -278,9 +300,9 @@ ...@@ -278,9 +300,9 @@
</div> </div>
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM设备管理.cy.js</div> <div class="bar-label">DC-TOM除尘器监控.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
...@@ -288,9 +310,9 @@ ...@@ -288,9 +310,9 @@
</div> </div>
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM除尘器总览.cy.js</div> <div class="bar-label">EC-TOME-Net.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
...@@ -298,9 +320,9 @@ ...@@ -298,9 +320,9 @@
</div> </div>
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">DC-TOM除尘器监控.cy.js</div> <div class="bar-label">EC-TOMPIKAR烟尘识别数据台账.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 50%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
...@@ -308,25 +330,145 @@ ...@@ -308,25 +330,145 @@
</div> </div>
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">generic-login.cy.js</div> <div class="bar-label">EC-TOM准时化.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 0%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 50%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
<div class="bar-value">0/1/0</div> <div class="bar-value">1/0/0</div>
</div> </div>
<div class="chart-bar"> <div class="chart-bar">
<div class="bar-label">spec.cy.js</div> <div class="bar-label">EC-TOM设备数据台账.cy.js</div>
<div class="bar-container"> <div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div> <div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div> <div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div> <div class="bar-segment pending" style="height: 0%;"></div>
</div> </div>
<div class="bar-value">2/0/0</div> <div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOME-Net.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOMPIKAR烟尘识别数据台账.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOM准时化.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOM设备数据台账.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOME-Net.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOMPIKAR烟尘识别数据台账.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOM准时化.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div> </div>
<div class="chart-bar">
<div class="bar-label">EC-TOM设备数据台账.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOME-Net.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOMPIKAR烟尘识别数据台账.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOM准时化.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
<div class="chart-bar">
<div class="bar-label">EC-TOM设备数据台账.cy.js</div>
<div class="bar-container">
<div class="bar-segment passes" style="height: 100%;"></div>
<div class="bar-segment failures" style="height: 0%;"></div>
<div class="bar-segment pending" style="height: 0%;"></div>
</div>
<div class="bar-value">1/0/0</div>
</div>
</div> </div>
</div> </div>
...@@ -336,19 +478,19 @@ ...@@ -336,19 +478,19 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM首页.cy.js DC-TOM首页.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171345.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152555.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 9289ms</span> <span class="stat duration">耗时: 4169ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item passed">
<span class="test-title">DC-TOM首页</span> <span class="test-title">DC-TOM首页</span>
<span class="test-duration">9289ms</span> <span class="test-duration">4169ms</span>
</div> </div>
...@@ -358,20 +500,20 @@ ...@@ -358,20 +500,20 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM告警总览.cy.js DC-TOM告警总览.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171358.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152700.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 0</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 1</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 11238ms</span> <span class="stat duration">耗时: 20761ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item failed">
<span class="test-title">DC-TOM告警总览</span> <span class="test-title">DC-TOM告警总览</span>
<span class="test-duration">11238ms</span> <span class="test-duration">20761ms</span>
<div class="test-error">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.</div>
</div> </div>
</div> </div>
...@@ -380,19 +522,19 @@ ...@@ -380,19 +522,19 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM布袋周期.cy.js DC-TOM布袋周期.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171409.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152706.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 9291ms</span> <span class="stat duration">耗时: 3992ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item passed">
<span class="test-title">DC-TOM布袋周期</span> <span class="test-title">DC-TOM布袋周期</span>
<span class="test-duration">9291ms</span> <span class="test-duration">3992ms</span>
</div> </div>
...@@ -402,20 +544,20 @@ ...@@ -402,20 +544,20 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM我的闭环.cy.js DC-TOM我的闭环.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171427.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152810.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 0</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 1</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 16346ms</span> <span class="stat duration">耗时: 21343ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item failed">
<span class="test-title">DC-TOM我的闭环</span> <span class="test-title">DC-TOM我的闭环</span>
<span class="test-duration">16346ms</span> <span class="test-duration">21343ms</span>
<div class="test-error">AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_14 > .cell > [data-testid="my-agency-process-button"]`, but never found it.</div>
</div> </div>
</div> </div>
...@@ -424,20 +566,20 @@ ...@@ -424,20 +566,20 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM设备管理.cy.js DC-TOM设备管理.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171444.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152915.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 0</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 1</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 14684ms</span> <span class="stat duration">耗时: 21208ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item failed">
<span class="test-title">DC-TOM设备管理</span> <span class="test-title">DC-TOM设备管理</span>
<span class="test-duration">14684ms</span> <span class="test-duration">21208ms</span>
<div class="test-error">AssertionError: Timed out retrying after 15000ms: Expected to find element: `:nth-child(1) > .el-table_1_column_11 > .cell > [data-testid="equipment-params-button"] > span`, but never found it.</div>
</div> </div>
</div> </div>
...@@ -446,19 +588,19 @@ ...@@ -446,19 +588,19 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM除尘器总览.cy.js DC-TOM除尘器总览.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171520.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152925.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 5418ms</span> <span class="stat duration">耗时: 8232ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item passed">
<span class="test-title">DC-TOM除尘器总览</span> <span class="test-title">DC-TOM除尘器总览</span>
<span class="test-duration">5418ms</span> <span class="test-duration">8232ms</span>
</div> </div>
...@@ -468,19 +610,19 @@ ...@@ -468,19 +610,19 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
DC-TOM除尘器监控.cy.js DC-TOM除尘器监控.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171535.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152931.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 1</span> <span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 12674ms</span> <span class="stat duration">耗时: 4325ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item passed">
<span class="test-title">DC-TOM除尘器监控</span> <span class="test-title">DC-TOM除尘器监控</span>
<span class="test-duration">12674ms</span> <span class="test-duration">4325ms</span>
</div> </div>
...@@ -489,21 +631,21 @@ ...@@ -489,21 +631,21 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
generic-login.cy.js EC-TOME-Net.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171633.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152952.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 0</span> <span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 1</span> <span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 15847ms</span> <span class="stat duration">耗时: 18472ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item failed"> <div class="test-item passed">
<span class="test-title">应该能够成功登录</span> <span class="test-title">EC-TOME-Net</span>
<span class="test-duration">15847ms</span> <span class="test-duration">18472ms</span>
<div class="test-error">AssertionError: Timed out retrying after 15000ms: Expected to find element: `[data-testid="login-captcha-input"]`, but never found it.</div>
</div> </div>
</div> </div>
...@@ -511,26 +653,64 @@ ...@@ -511,26 +653,64 @@
<div class="file-details"> <div class="file-details">
<h3> <h3>
spec.cy.js EC-TOMPIKAR烟尘识别数据台账.cy.js
<a href="../../cypress/reports/mochawesome_09052025_171646.html" target="_blank" class="report-link">查看原始报告</a> <a href="../../cypress/reports/mochawesome_09082025_152958.html" target="_blank" class="report-link">查看原始报告</a>
</h3> </h3>
<div class="file-stats"> <div class="file-stats">
<span class="stat passes">通过: 2</span> <span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span> <span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span> <span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 11330ms</span> <span class="stat duration">耗时: 3884ms</span>
</div> </div>
<div class="test-list"> <div class="test-list">
<div class="test-item passed"> <div class="test-item passed">
<span class="test-title">test</span> <span class="test-title">EC-TOMPIKAR-烟尘识别数据台账</span>
<span class="test-duration">8842ms</span> <span class="test-duration">3884ms</span>
</div> </div>
</div>
</div>
<div class="file-details">
<h3>
EC-TOM准时化.cy.js
<a href="../../cypress/reports/mochawesome_09082025_153004.html" target="_blank" class="report-link">查看原始报告</a>
</h3>
<div class="file-stats">
<span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 4076ms</span>
</div>
<div class="test-list">
<div class="test-item passed">
<span class="test-title">准时化</span>
<span class="test-duration">4076ms</span>
</div>
</div>
</div>
<div class="file-details">
<h3>
EC-TOM设备数据台账.cy.js
<a href="../../cypress/reports/mochawesome_09082025_153013.html" target="_blank" class="report-link">查看原始报告</a>
</h3>
<div class="file-stats">
<span class="stat passes">通过: 1</span>
<span class="stat failures">失败: 0</span>
<span class="stat pending">待定: 0</span>
<span class="stat duration">耗时: 7693ms</span>
</div>
<div class="test-list">
<div class="test-item passed"> <div class="test-item passed">
<span class="test-title">test2</span> <span class="test-title">设备数据台账1</span>
<span class="test-duration">2488ms</span> <span class="test-duration">7693ms</span>
</div> </div>
......
@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 @echo off
setlocal enabledelayedexpansion setlocal enabledelayedexpansion
set ENV=%1 REM ========================================
if "%ENV%"=="" set ENV=development REM 通用测试执行脚本 (Windows 版 - 精简版)
REM 用法: run-tests.bat [browser]
set BROWSER=%2 REM 示例: run-tests.bat chrome
if "%BROWSER%"=="" set BROWSER=chrome REM ========================================
echo Running tests for %ENV% environment with %BROWSER% browser set "BROWSER=%~1"
if "%BROWSER%"=="" set "BROWSER=chrome"
if "%ENV%"=="development" (
set CYPRESS_BASE_URL=https://screen.bmetech.com/admin/dctom/ echo 开始执行测试,使用 %BROWSER% 浏览器
set CYPRESS_REPORT_TITLE=Development Tests
) else if "%ENV%"=="staging" ( REM ======================================
set CYPRESS_BASE_URL=https://screen.bmetech.com/admin/dctom/ REM 浏览器选择和 fallback
set CYPRESS_REPORT_TITLE=Staging Tests REM ======================================
) else if "%ENV%"=="production" ( set "FALLBACK_BROWSER=electron"
set CYPRESS_BASE_URL=https://screen.bmetech.com/admin/dctom/ set "CHROME_CUSTOM=chrome-custom"
set CYPRESS_REPORT_TITLE=Production Tests
) else ( if /i "%BROWSER%"=="chrome" (
if "%ENV:~0,4%"=="http" ( echo Replacing chrome with %CHROME_CUSTOM%
set CYPRESS_BASE_URL=%ENV% set "BROWSER=%CHROME_CUSTOM%"
set CYPRESS_REPORT_TITLE=Custom URL Tests )
echo Using custom URL: %ENV%
) else ( echo 检查浏览器 %BROWSER% 是否可用...
echo Unknown environment: %ENV% npx cypress info | findstr /i "%BROWSER%" >nul
echo Supported environments: development, staging, production if errorlevel 1 (
echo Or specify a URL directly echo Browser %BROWSER% not found, falling back to %FALLBACK_BROWSER%
exit /b 1 set "BROWSER=%FALLBACK_BROWSER%"
) )
)
echo Using browser: %BROWSER%
echo CYPRESS_BASE_URL: %CYPRESS_BASE_URL% echo ======================================
REM 检查浏览器是否可用 REM ======================================
echo Checking if browser %BROWSER% is available... REM 确保报告目录存在 & 清理旧的报告
REM 在Windows上,我们简化处理,直接使用electron作为备选 REM ======================================
set FALLBACK_BROWSER=electron echo 清理旧的报告文件...
if not exist cypress\reports mkdir cypress\reports
echo Finding test scripts... if not exist public\reports mkdir public\reports
set SPEC_FILES=
for %%f in (cypress\e2e\*.cy.js) do ( del /q /s cypress\reports\*.* 2>nul
if exist "%%f" ( del /q /s public\reports\*.* 2>nul
if "!SPEC_FILES!"=="" (
set SPEC_FILES=%%f REM ======================================
) else ( REM 查找测试文件
set SPEC_FILES=!SPEC_FILES!,%%f REM ======================================
) set "SPEC_FILES="
echo - %%f for %%f in (cypress\e2e\*.cy.js) do (
) if not defined SPEC_FILES (
) set "SPEC_FILES=%%f"
) else (
echo Creating report directories... set "SPEC_FILES=!SPEC_FILES!,%%f"
if not exist "cypress\reports" mkdir cypress\reports )
if not exist "public\reports" mkdir public\reports echo - %%f
)
if defined SPEC_FILES (
echo Running specified test scripts... REM ======================================
npx cypress run --browser %BROWSER% --spec "%SPEC_FILES%" REM 执行测试
) else ( REM ======================================
echo No first-level test scripts found, running all tests... if defined SPEC_FILES (
npx cypress run --browser %BROWSER% echo 执行指定的测试脚本...
) call npx cypress run --browser %BROWSER% --spec "%SPEC_FILES%"
) else (
set TEST_EXIT_CODE=%errorlevel% echo 未找到第一层测试脚本,执行所有测试...
echo Test execution completed with exit code: %TEST_EXIT_CODE% call npx cypress run --browser %BROWSER%
)
echo Merging reports...
npx mochawesome-merge cypress/reports/**/*.json -o public/reports/merged-report.json set "TEST_EXIT_CODE=%ERRORLEVEL%"
echo 测试执行完成,退出码: %TEST_EXIT_CODE%
echo Generating HTML report...
npx marge public/reports/merged-report.json --reportDir public/reports --inline if %TEST_EXIT_CODE%==0 (
echo 测试执行成功,生成报告...
echo Generating summary report... ) else (
node scripts/generate-summary-report.cjs echo 警告: 测试执行失败(退出码: %TEST_EXIT_CODE%),但仍尝试生成报告...
)
echo All reports generated!
echo View summary report: public/reports/summary-report.html REM ======================================
echo View detailed report: public/reports/merged-report.html REM 合并报告 & 生成 HTML
REM ======================================
echo Test execution finished for /f %%i in ('dir /b /s cypress\reports\*.json 2^>nul ^| find /c /v ""') do set JSON_REPORT_COUNT=%%i
\ No newline at end of file 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} ...@@ -9,48 +9,6 @@ BROWSER=${2:-chrome}
echo "开始执行 $ENV 环境的测试,使用 $BROWSER 浏览器" 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_BASE_URL: $CYPRESS_BASE_URL"
echo "CYPRESS_REPORT_TITLE: $CYPRESS_REPORT_TITLE" echo "CYPRESS_REPORT_TITLE: $CYPRESS_REPORT_TITLE"
......
...@@ -299,20 +299,22 @@ const generateHtmlReport = () => { ...@@ -299,20 +299,22 @@ const generateHtmlReport = () => {
.legend-item.pending .legend-color { background-color: #ff9800; } .legend-item.pending .legend-color { background-color: #ff9800; }
.chart { .chart {
display: flex; display: flex;
gap: 30px; gap: 10px;
overflow-x: auto; overflow-x: auto;
padding: 20px 0; padding: 20px 0;
flex-wrap: wrap;
} }
.chart-bar { .chart-bar {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
min-width: 80px; width: 80px;
} }
.bar-label { .bar-label {
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
font-size: 12px; font-size: 11px;
line-height: 12px;
height: 40px; height: 40px;
} }
.bar-container { .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