uitests: Make createpool test less flaky
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
d140596ce9
commit
8f76c97705
|
@ -123,13 +123,14 @@ class CreatePool(uiutils.UITestCase):
|
||||||
win.find_fuzzy("Host Name:", "text").text = "example.com:1234"
|
win.find_fuzzy("Host Name:", "text").text = "example.com:1234"
|
||||||
win.find_fuzzy("pool-source-name-text", "text").typeText("frob")
|
win.find_fuzzy("pool-source-name-text", "text").typeText("frob")
|
||||||
finish.click()
|
finish.click()
|
||||||
|
uiutils.check(lambda: not win.showing)
|
||||||
|
uiutils.check(lambda: hostwin.active)
|
||||||
hostwin.find(newname, "table cell")
|
hostwin.find(newname, "table cell")
|
||||||
|
|
||||||
# Ensure host window closes fine
|
# Ensure host window closes fine
|
||||||
hostwin.click()
|
hostwin.click()
|
||||||
hostwin.keyCombo("<ctrl>w")
|
hostwin.keyCombo("<ctrl>w")
|
||||||
uiutils.check(lambda: not hostwin.showing and
|
uiutils.check(lambda: not hostwin.showing)
|
||||||
not hostwin.active)
|
|
||||||
|
|
||||||
|
|
||||||
def testCreatePoolXMLEditor(self):
|
def testCreatePoolXMLEditor(self):
|
||||||
|
|
Loading…
Reference in New Issue