tests: handle KWrite editor in DispVM tests
This commit is contained in:
parent
02f9661169
commit
7c91e82365
@ -191,7 +191,7 @@ class TC_20_DispVMMixin(object):
|
||||
window_title = window_title.decode().strip().\
|
||||
replace('(', '\(').replace(')', '\)')
|
||||
time.sleep(1)
|
||||
if "gedit" in window_title:
|
||||
if "gedit" in window_title or 'KWrite' in window_title:
|
||||
subprocess.check_call(['xdotool', 'windowactivate', '--sync', winid,
|
||||
'type', 'Test test 2'])
|
||||
subprocess.check_call(['xdotool', 'key', '--window', winid,
|
||||
|
Loading…
Reference in New Issue
Block a user