tests: wait before pressing ctrl-s in gedit

Apparently gedit doesn't handle well fast keystrokes flow.
This commit is contained in:
Marek Marczykowski-Górecki 2015-03-04 02:21:47 +01:00
parent 69f8d8aecf
commit d6ea80eb5c

View File

@ -512,6 +512,7 @@ class TC_20_DispVM(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase):
time.sleep(0.5)
subprocess.check_call(['xdotool', 'search', '--name', window_title,
'windowactivate', 'type', 'test test 2\n'])
time.sleep(0.5)
subprocess.check_call(['xdotool', 'search', '--name', window_title,
'key', 'ctrl+s', 'ctrl+q'])
p.wait()