Add support for non-link buttons to test_hints
This commit is contained in:
parent
344ebed6ad
commit
b87f0b6f65
@ -106,7 +106,11 @@ def test_hints(test_name, zoom_text_only, zoom_level, find_implementation,
|
||||
quteproc.set_setting('hints.find_implementation', find_implementation)
|
||||
quteproc.send_cmd(':zoom {}'.format(zoom_level))
|
||||
# follow hint
|
||||
quteproc.send_cmd(':hint links normal')
|
||||
if 'button' in test_name:
|
||||
# We are hinting buttons, link hinting will not work
|
||||
quteproc.send_cmd(':hint all normal')
|
||||
else:
|
||||
quteproc.send_cmd(':hint links normal')
|
||||
quteproc.wait_for(message='hints: a', category='hints')
|
||||
quteproc.send_cmd(':follow-hint a')
|
||||
quteproc.wait_for_load_finished('data/' + parsed.target)
|
||||
|
Loading…
Reference in New Issue
Block a user