From 1f7e9e6b5915c83b79b61d689ce4065ac5566301 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 3 Feb 2017 23:32:20 +0100 Subject: [PATCH] Add a testcase for #1613 --- tests/end2end/data/hints/input.html | 2 ++ tests/end2end/features/hints.feature | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/tests/end2end/data/hints/input.html b/tests/end2end/data/hints/input.html index 9c93da15e..b7d86fea8 100644 --- a/tests/end2end/data/hints/input.html +++ b/tests/end2end/data/hints/input.html @@ -7,5 +7,7 @@
+ With padding: +
diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index 24effc777..9cd91f151 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -153,6 +153,15 @@ Feature: Using hints # The actual check is already done above Then no crash should happen + # https://github.com/The-Compiler/qutebrowser/issues/1613 + Scenario: Hinting inputs with padding + When I open data/hints/input.html + And I hint with args "inputs" and follow s + And I wait for "Entering mode KeyMode.insert (reason: clicking input)" in the log + And I run :leave-mode + # The actual check is already done above + Then no crash should happen + Scenario: Hinting with ACE editor When I open data/hints/ace/ace.html And I hint with args "inputs" and follow a