From 451d35ed40fcf5449dfbf82ed409af63716feb7c Mon Sep 17 00:00:00 2001 From: "zhangyongde.zyd" Date: Wed, 13 Mar 2024 14:36:54 +0800 Subject: [PATCH] (bugfix) fix cypress of formal test case --- sysom_web/cypress/e2e/hotfix/formal.cy.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sysom_web/cypress/e2e/hotfix/formal.cy.js b/sysom_web/cypress/e2e/hotfix/formal.cy.js index c72ffaeb..2c0c02f9 100644 --- a/sysom_web/cypress/e2e/hotfix/formal.cy.js +++ b/sysom_web/cypress/e2e/hotfix/formal.cy.js @@ -1,7 +1,9 @@ /* ==== Test Created with Cypress Studio ==== */ -/**Before this test case begins, there should be one successfully built. -And this hotfix should be changed into formal, so that there is a record -for formal hotfix test */ + +/** + * This is a one singal formal hotfix list test. + * This test dont need any successfully build. + */ it('formal hotfix test', function() { cy.login() @@ -12,8 +14,9 @@ it('formal hotfix test', function() { cy.get(':nth-child(1) > .ant-btn > span').click({multiple: true}); cy.get('#hotfix_name').clear('te'); cy.get('#hotfix_name').type('test'); + cy.get('#patch_file').type('patch_file_0001.patch'); + cy.get('#rc_select_1').type('5.10.112-11.1.al8.x86_64'); cy.get(':nth-child(2) > .ant-btn > span').click(); - cy.get('.ant-btn > .anticon > svg').click(); - cy.get('.ant-space > :nth-child(2) > span > a').click(); + /* ==== End Cypress Studio ==== */ }); -- Gitee