@@ -267,10 +267,6 @@ Cypress.Commands.add('open3dotsMenu', (name, selection, checkNotInMenu=false) =>
267267 . contains ( selection ) . should ( 'not.exist' ) ;
268268 }
269269 } ) ;
270-
271- // TODO: remove once this bug is fixed:
272- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
273- cy . closePopWindow ( 'Warning' )
274270
275271 // Close 3 dots button menu
276272 cy . get ( 'body' ) . should ( 'exist' ) . click ( { force : true } ) ;
@@ -347,11 +343,6 @@ Cypress.Commands.add('nameSpaceMenuToggle', (namespaceName) => {
347343 cy . get ( 'div.ns-item' ) . contains ( namespaceName ) . scrollIntoView ( )
348344 cy . get ( 'div.ns-item' ) . contains ( namespaceName ) . click ( )
349345 cy . get ( 'div.ns-dropdown.ns-open > i.icon.icon-chevron-up' ) . click ( { force : true } ) ;
350-
351- // TODO: remove once this bug is fixed:
352- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
353- cy . closePopWindow ( 'Warning' )
354-
355346} )
356347
357348// Command to filter text in searchbox
@@ -490,10 +481,6 @@ Cypress.Commands.add('modifyDeployedApplication', (appName, clusterName='local')
490481 // TODO: Add logic to increase resource count to given no.
491482 cy . get ( '.icon-plus' ) . click ( ) ;
492483 cy . get ( '#trigger > .icon.icon-chevron-up' ) . click ( { force : true } ) ;
493-
494- // TODO: remove once this bug is fixed:
495- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
496- cy . closePopWindow ( 'Warning' )
497484} ) ;
498485
499486// Create Role Template (User & Authentication)
@@ -636,10 +623,6 @@ Cypress.Commands.add('upgradeFleet', () => {
636623// Add label to the imported cluster(s)
637624Cypress . Commands . add ( 'assignClusterLabel' , ( clusterName , key , value ) => {
638625
639- // TODO: remove once this bug is fixed:
640- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
641- cy . closePopWindow ( 'Warning' )
642-
643626 cy . filterInSearchBox ( clusterName ) ;
644627 cy . open3dotsMenu ( clusterName , 'Edit Config' ) ;
645628 cy . clickButton ( 'Add Label' ) ;
@@ -656,11 +639,6 @@ Cypress.Commands.add('assignClusterLabel', (clusterName, key, value) => {
656639Cypress . Commands . add ( 'createClusterGroup' , ( clusterGroupName , key , value , bannerMessageToAssert , assignClusterGroupLabel = false , clusterGroupLabelKey , clusterGroupLabelValue ) => {
657640 cy . fleetNamespaceToggle ( 'fleet-default' ) ;
658641
659-
660- // TODO: remove once this bug is fixed:
661- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
662- cy . closePopWindow ( 'Warning' )
663-
664642 cy . clickButton ( 'Create' ) ;
665643 cy . get ( 'input[placeholder="A unique name"]' ) . type ( clusterGroupName ) ;
666644 cy . clickButton ( 'Add Rule' ) ;
@@ -707,17 +685,10 @@ Cypress.Commands.add('deleteClusterGroups', () => {
707685
708686// Remove added labels from the cluster(s)
709687Cypress . Commands . add ( 'removeClusterLabels' , ( clusterName , key , value ) => {
710- // TODO: remove once this bug is fixed:
711- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
712- cy . closePopWindow ( 'Warning' )
688+
713689 cy . accesMenuSelection ( 'Continuous Delivery' , 'Git Repos' ) ;
714690 cy . clickNavMenu ( [ 'Clusters' ] ) ;
715691 cy . contains ( '.title' , 'Clusters' ) . should ( 'be.visible' ) ;
716-
717- // TODO: remove once this bug is fixed:
718- // https://github.com/rancher/dashboard/issues/14295#issuecomment-2862105017
719- cy . closePopWindow ( 'Warning' )
720-
721692 cy . filterInSearchBox ( clusterName ) ;
722693 cy . open3dotsMenu ( clusterName , 'Edit Config' ) ;
723694 cy . contains ( '.title' , 'Cluster:' ) . should ( 'be.visible' ) ;
0 commit comments