Browse Source

tests: exclude whonixcheck and NetworkManager from editor window search

Those may pop up before actual editor is found, which fails the test as
it can't handle such "editor".
Marek Marczykowski-Górecki 5 years ago
parent
commit
240b1dd75e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      qubes/tests/integ/dispvm.py

+ 3 - 1
qubes/tests/integ/dispvm.py

@@ -267,7 +267,9 @@ class TC_20_DispVMMixin(object):
                 # ignore LibreOffice splash screen and window with no title
                 # set yet
                 if window_title and not window_title.startswith("LibreOffice")\
-                        and not window_title == 'VMapp command':
+                        and not window_title == 'VMapp command' \
+                        and 'whonixcheck' not in window_title \
+                        and not window_title == 'NetworkManager Applet':
                     break
             wait_count += 1
             if wait_count > 100: