diff --git a/tests/end2end/data/hints/html/angular1.html b/tests/end2end/data/hints/html/angular1.html
index 95f28a746..de7712c0b 100644
--- a/tests/end2end/data/hints/html/angular1.html
+++ b/tests/end2end/data/hints/html/angular1.html
@@ -1,25 +1,26 @@
-
-
-
-
-
Click the button to run a function:
-
OK
-
The button has been clicked {{count}} times.
-
+
+
-
-
+
+
Click the button to run a function:
+
OK
+
The button has been clicked {{count}} times.
+
+
+
+
+
diff --git a/tests/end2end/test_hints_html.py b/tests/end2end/test_hints_html.py
index 6654e1388..fb30abefe 100644
--- a/tests/end2end/test_hints_html.py
+++ b/tests/end2end/test_hints_html.py
@@ -106,7 +106,7 @@ 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')
+ quteproc.send_cmd(':hint all normal')
quteproc.wait_for(message='hints: a', category='hints')
quteproc.send_cmd(':follow-hint a')
quteproc.wait_for_load_finished('data/' + parsed.target)