uitests: newvm: Add a customize->addhardware test

This commit is contained in:
Cole Robinson 2018-01-19 16:02:58 -05:00
parent f1468cf1c7
commit a9ba930936
1 changed files with 6 additions and 0 deletions

View File

@ -116,6 +116,12 @@ class NewVM(uiutils.UITestCase):
vmwindow.find_fuzzy("Copy host", "check").click() vmwindow.find_fuzzy("Copy host", "check").click()
vmwindow.find_fuzzy("config-apply").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 # Start the install, close via the VM window
vmwindow.find_fuzzy("Begin Installation", "button").click() vmwindow.find_fuzzy("Begin Installation", "button").click()
uiutils.check_in_loop(lambda: newvm.showing is False) uiutils.check_in_loop(lambda: newvm.showing is False)