File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
tests/cypress/e2e/unit_tests Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -563,3 +563,29 @@ if (!/\/2\.7/.test(Cypress.env('rancher_version')) && !/\/2\.8/.test(Cypress.env
563563 ) ;
564564 } ) ;
565565}
566+
567+ describe ( 'Test GitRepo Bundle do not show hash mismatch error.' , { tags : '@p1' } , ( ) => {
568+
569+ qase ( 195 ,
570+ it ( "Fleet-195: Test GitRepo bundle hash is not mismatch." , { tags : '@fleet-195' } , ( ) => {
571+
572+ const repoName = "test-bundle-hash-mistmatch"
573+ const path = "qa-test-apps/bundle-hash-test"
574+
575+ cy . addFleetGitRepo ( { repoName, repoUrl, branch, path } ) ;
576+ cy . clickButton ( 'Create' ) ;
577+ cy . verifyTableRow ( 0 , 'Active' , repoName ) ;
578+ cy . checkGitRepoStatus ( repoName , '1 / 1' , '3 / 3' ) ;
579+
580+ // Bundle hash mismatch error will occurs when bundle reconciler,
581+ // reconciles bundle which has long description in Chart.yaml and/or
582+ // resource contains escape chars in there specs.
583+ // See fixed issue: https://github.com/rancher/fleet/issues/3807#issuecomment-3376900740
584+ // Verify that bundle is showing Active state and not showing hash mismatch error.
585+ cy . continuousDeliveryBundlesMenu ( ) ;
586+ cy . filterInSearchBox ( repoName ) ;
587+ cy . verifyTableRow ( 0 , 'Active' , repoName ) ;
588+
589+ } )
590+ )
591+ } ) ;
You can’t perform that action at this time.
0 commit comments