File 064-uitests-fix-snapshot-name-validation-test.patch of Package virt-manager

Subject: uitests: fix snapshot name validation test
From: Cole Robinson crobinso@redhat.com Sat Feb 7 15:04:39 2026 -0500
Date: Mon Feb 9 20:56:38 2026 +0100:
Git: eba62e983aaf0453b7214b39de939aa2d2429884

Signed-off-by: Cole Robinson <crobinso@redhat.com>

diff --git a/tests/uitests/test_snapshot.py b/tests/uitests/test_snapshot.py
index 72ece0be1..86f4394e3 100644
--- a/tests/uitests/test_snapshot.py
+++ b/tests/uitests/test_snapshot.py
@@ -141,7 +141,7 @@ def testSnapshotMisc1(app):
     newwin = app.find_window("Create snapshot")
     newwin.find("internal", "radio button").click()
     # Force validation error
-    newwin.find("Name:", "text").set_text("bad name")
+    newwin.find("Name:", "text").set_text("bad/name")
     newwin.find("Finish", "push button").click()
     app.click_alert_button("validating snapshot", "OK")
     # Force name collision
openSUSE Build Service is sponsored by