shorten page and wait for load finished

This commit is contained in:
Felix Van der Jeugt 2016-04-29 21:56:24 +02:00
parent b7ba3cd53e
commit 86d08f741c
2 changed files with 1 additions and 6 deletions

View File

@ -6,8 +6,6 @@
</head>
<body>
<h1>Word hints</h1>
<p>This page contains links to be hinted with words. The two
kinds of word hints will be described below.</p>
<h2>Smart hints</h2>
<p>In qutebrowser, urls can not only be hinted with letters and
@ -20,10 +18,6 @@
<a href="../l33t.txt">too</a> short or <a href="../l33t.txt">l33t</a> to
use, words from a dictionary will be used.</p>
<p>The current dictionary contains only the words: one, two,
three, four and five. As there are for none-smart hints in this
page, all five words should be used.</p>
<h2>Hint conflicts</h2>
<p>Of course, hints have to be unique. For instance, all hints
below should get a different hint, whether they're smart or

View File

@ -83,6 +83,7 @@ def test_word_hints_issue1393(quteproc, tmpdir):
for hint, target in targets:
quteproc.open_path('data/hints/issue1393.html')
quteproc.wait_for_load_finished('data/hints/issue1393.html')
quteproc.send_cmd(':hint')
quteproc.wait_for(message='hints: *', category='hints')
quteproc.send_cmd(':follow-hint {}'.format(hint))