Add a testcase for #1613

This commit is contained in:
Florian Bruhin 2017-02-03 23:32:20 +01:00
parent 4cf7a3d1f4
commit 1f7e9e6b59
2 changed files with 11 additions and 0 deletions

View File

@ -7,5 +7,7 @@
</head>
<body>
<form><input id="qute-input"></input></form>
With padding:
<form><input type="text" style="padding-left: 20px;"></input></form>
</body>
</html>

View File

@ -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