mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
uitests: fix coverage with scaling default change
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
715acbf541
commit
97ab16a73d
@ -113,6 +113,10 @@ def _checkConsoleStandard(app, dom):
|
||||
# 'Resize to VM' testing
|
||||
oldsize = win.size
|
||||
win.find("^View$", "menu").click()
|
||||
scalemenu = win.find("Scale Display", "menu")
|
||||
scalemenu.point()
|
||||
scalemenu.find("Never", "radio menu item").click()
|
||||
win.find("^View$", "menu").click()
|
||||
win.find("Resize to VM", "menu item").click()
|
||||
newsize = win.size
|
||||
lib.utils.check(lambda: oldsize != newsize)
|
||||
@ -152,10 +156,6 @@ def _checkConsoleStandard(app, dom):
|
||||
win.find("^View$", "menu").click()
|
||||
scalemenu = win.find("Scale Display", "menu")
|
||||
scalemenu.point()
|
||||
scalemenu.find("Never", "radio menu item").click()
|
||||
win.find("^View$", "menu").click()
|
||||
scalemenu = win.find("Scale Display", "menu")
|
||||
scalemenu.point()
|
||||
scalemenu.find("Only", "radio menu item").click()
|
||||
win.find("^View$", "menu").click()
|
||||
scalemenu = win.find("Scale Display", "menu")
|
||||
|
@ -50,7 +50,7 @@ def testPrefsAll(app):
|
||||
tab.check_onscreen()
|
||||
tab.combo_select("SPICE USB", "Manual redirect")
|
||||
tab.combo_select("Resize guest", "On")
|
||||
tab.combo_select("Graphical console scaling", "Always")
|
||||
tab.combo_select("Graphical console scaling", "Never")
|
||||
tab.find("Console autoconnect", "check box").click()
|
||||
|
||||
tab.find("Change...", "push button").click()
|
||||
|
Loading…
Reference in New Issue
Block a user