From a9ba930936b35a67581188ad6f9e33cc9c7f536a Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 19 Jan 2018 16:02:58 -0500 Subject: [PATCH] uitests: newvm: Add a customize->addhardware test --- tests/uitests/newvm.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/uitests/newvm.py b/tests/uitests/newvm.py index da13f4880..6c877943c 100644 --- a/tests/uitests/newvm.py +++ b/tests/uitests/newvm.py @@ -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)