mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
uitests: newvm: Add a customize->addhardware test
This commit is contained in:
parent
f1468cf1c7
commit
a9ba930936
@ -116,6 +116,12 @@ class NewVM(uiutils.UITestCase):
|
||||
vmwindow.find_fuzzy("Copy host", "check").click()
|
||||
vmwindow.find_fuzzy("config-apply").click()
|
||||
|
||||
# Add a default disk
|
||||
vmwindow.find("add-hardware", "push button").click()
|
||||
addhw = self.app.root.find("Add New Virtual Hardware", "frame")
|
||||
addhw.find("Finish", "push button").click()
|
||||
uiutils.check_in_loop(lambda: vmwindow.active)
|
||||
|
||||
# Start the install, close via the VM window
|
||||
vmwindow.find_fuzzy("Begin Installation", "button").click()
|
||||
uiutils.check_in_loop(lambda: newvm.showing is False)
|
||||
|
Loading…
Reference in New Issue
Block a user