@@ -279,7 +279,7 @@ class TestFirewall(netlib.NetworkCase):
279
279
b .assert_pixels (".pf-v6-c-modal-box" , "firewall-add-services-to-zone-modal" , wait_delay = 3 )
280
280
281
281
# don't select anything in the dialog
282
- b .wait_visible (f"#add-services-dialog .{ self .btn_primary } .pf-m- disabled" )
282
+ b .wait_visible (f"#add-services-dialog .{ self .btn_primary } : disabled" )
283
283
b .click ("#add-services-dialog footer .btn-cancel" )
284
284
b .wait_not_present (".pf-v6-c-modal-box" )
285
285
@@ -323,7 +323,7 @@ class TestFirewall(netlib.NetworkCase):
323
323
# belonging either libvirt or public
324
324
for service in services :
325
325
b .click (f".zone-section[data-id='public'] tr[data-row-id='{ service } '] button.pf-v6-c-menu-toggle" )
326
- b .click (".zone-section[data-id='public'] . pf-v6-c-menu__list-item.pf-m-danger button" )
326
+ b .click (".pf-v6-c-menu__list-item.pf-m-danger button" )
327
327
# removing cockpit services requires confirmation
328
328
if service == "cockpit" :
329
329
b .click (f"#delete-confirmation-dialog button.{ self .btn_danger } " )
@@ -340,7 +340,7 @@ class TestFirewall(netlib.NetworkCase):
340
340
b .wait_visible (".zone-section[data-id='public'] td:contains('Additional ports') + td:contains('9998')" )
341
341
# remove service in cockpit
342
342
b .click (".zone-section[data-id='public'] tr[data-row-id='pop3'] button.pf-v6-c-menu-toggle" )
343
- b .click (".zone-section[data-id='public'] . pf-v6-c-menu__list-item.pf-m-danger button" )
343
+ b .click (".pf-v6-c-menu__list-item.pf-m-danger button" )
344
344
b .wait_not_present (".zone-section[data-id='public'] tr[data-row-id='pop3']" )
345
345
346
346
def testAddCustomServices (self ):
0 commit comments