uitests: prefs: Another attempt to fix XML editor flakiness

This commit is contained in:
Cole Robinson 2019-06-16 19:33:32 -04:00
parent a2a09a49c7
commit fe0e36499b

View File

@ -65,6 +65,7 @@ class VMMPrefs(uiutils.UITestCase):
xmleditor = detailswin.find("XML editor") xmleditor = detailswin.find("XML editor")
detailswin.find("XML", "page tab").click() detailswin.find("XML", "page tab").click()
uiutils.drag(detailswin, 400, 400)
warnlabel = detailswin.find_fuzzy("XML editing is disabled") warnlabel = detailswin.find_fuzzy("XML editing is disabled")
self.assertTrue(warnlabel.visible) self.assertTrue(warnlabel.visible)
origtext = xmleditor.text origtext = xmleditor.text