diff --git a/tests/end2end/data/hints/number.html b/tests/end2end/data/hints/number.html new file mode 100644 index 000000000..61a71c805 --- /dev/null +++ b/tests/end2end/data/hints/number.html @@ -0,0 +1,32 @@ + + + + + Numbered hints + + +

+ This page contains various links to test numbered hints. This requires setting hints -> mode to number, and hints -> scatter to false. +

+ +

+ Related issues: +

+

+ + + + diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index 05c32109b..331d70a64 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -166,3 +166,14 @@ Feature: Using hints And I wait until data/hello.txt is loaded And I press the key "," Then the message "Keypress worked!" should be shown + + ### Number hint mode + + # https://github.com/The-Compiler/qutebrowser/issues/308 + Scenario: Renumbering hints when filtering + When I open data/hints/number.html + And I set hints -> mode to number + And I run :hint all + And I press the key "s" + And I run :follow-hint 1 + Then data/numbers/7.txt should be loaded