Skip to content

Commit b232bbf

Browse files
committed
test: fix host switching selector
1 parent 93128ba commit b232bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/verify/check-shell-host-switching

+2-2
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ class TestHostSwitching(testlib.MachineCase, HostSwitcherHelpers):
559559
b.click("#nav-hosts .nav-item a[href='/@10.111.113.3']")
560560
b.wait_visible("iframe.container-frame[name='cockpit1:franz@10.111.113.3/system']")
561561

562-
b.wait_text("#hosts-sel button .pf-v5-c-select__toggle-text", "franz@machine3")
562+
b.wait_text("#hosts-sel button .pf-v6-c-select__toggle-text", "franz@machine3")
563563
self.open_host_switcher()
564564
b.wait_text(".nav-item a[href='/@10.111.113.3']", "franz @machine3")
565565
self.edit_hosts()
@@ -579,7 +579,7 @@ class TestHostSwitching(testlib.MachineCase, HostSwitcherHelpers):
579579
with b.wait_timeout(30):
580580
b.wait_not_present('#hosts_setup_server_dialog')
581581

582-
b.wait_text("#hosts-sel button .pf-v5-c-select__toggle-text", "admin@machine2")
582+
b.wait_text("#hosts-sel button .pf-v6-c-select__toggle-text", "admin@machine2")
583583

584584
# Changing the address of a host will navigate to that host,
585585
# and that will close the host switcher. Let's open it again

0 commit comments

Comments
 (0)