tests: wait before pressing ctrl-s in gedit

Apparently gedit doesn't handle well fast keystrokes flow.
这个提交包含在:
Marek Marczykowski-Górecki 2015-03-04 02:21:47 +01:00
父节点 69f8d8aecf
当前提交 d6ea80eb5c

查看文件

@ -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()