Florian Bruhin
8cc3804119
Don't run test with failed download on Qt 5.11
...
Looks like we can't use an <a> tag with download-attribute to trigger a failed
download in the test on Qt 5.11...
See #2298 , #3661
2018-06-06 21:12:23 +02:00
Florian Bruhin
29ad252278
Handle ² keypress correctly
...
Turns out str.isdigit() also handles ² as a digit, but int('²') causes a
ValueError.
Here we use `string.digits` instead, which is '0123456789'.
Fixes #3743
2018-05-22 12:25:45 +02:00
Florian Bruhin
6eadff4a10
Add Python executable to :version
2018-05-14 22:13:15 +02:00
Florian Bruhin
8531f89ca3
Merge remote-tracking branch 'origin/pr/3789'
2018-05-08 11:45:20 +02:00
Florian Bruhin
89a1c43b4c
Merge remote-tracking branch 'origin/pr/3790'
2018-05-08 11:43:30 +02:00
Florian Bruhin
d005088b6b
Add missing fake_args fixture
2018-05-08 11:26:45 +02:00
Florian Bruhin
b9fc068af5
Add a log-requests debug-flag
2018-05-07 10:23:56 +02:00
Florian Bruhin
388c155ebb
Add test for #3753
2018-05-03 18:02:20 +02:00
Florian Bruhin
f0f1a4a1d1
Merge remote-tracking branch 'origin/pr/3702'
2018-05-03 17:56:03 +02:00
Florian Bruhin
49bdcd5a97
Merge remote-tracking branch 'origin/pr/3796'
2018-05-03 13:58:26 +02:00
Florian Bruhin
4932cc4d24
Merge remote-tracking branch 'origin/pr/3804'
2018-05-03 13:33:08 +02:00
Jimmy
19554ba4a1
Update PyPI api URL.
...
Flask 1.0 is out, pip made breaking changes, warehouse is a thing, new
requests soon. So
much fun in python world lately.
2018-05-02 23:08:51 +12:00
Florian Bruhin
e789296b7f
Handle new focus object for Qt 5.11
...
See https://codereview.qt-project.org/#/c/221408/10 and #3661 :
https://github.com/qutebrowser/qutebrowser/issues/3661#issuecomment-375969315
2018-04-23 16:54:47 +02:00
Michal Siedlaczek
c94ea5f8d4
Merge remote-tracking branch 'upstream/master' into filter-dict-names
...
Merging to investigate failed tests that seem unrelated to the PR.
2018-04-21 13:29:18 -04:00
Michal Siedlaczek
e2d249541d
Fix test function comment
2018-04-21 12:33:10 -04:00
Jay Kamat
cbb246fd0b
Update tests for new implementation
2018-04-16 23:28:32 -04:00
Florian Bruhin
4a78519b63
Mark opening/closing window via JS test as flaky
2018-04-16 17:14:47 +02:00
Florian Bruhin
d2207f66f1
Skip test_set_error entirely
...
See #3771
2018-04-16 17:14:14 +02:00
Jimmy
c5334fb683
Greasemonkey: use UrlPatterns for match directives
...
The greasemonkey `@match` directive is used to match urls against
chromium url patterns (as opposed to `@include` which treats its
argument as a glob expression). I was using fnmatch for both here
because I am lazy and knew someone else was going to implement chromium
url patterns for me eventually. Now it is done and I should switch to
using them instead. The most common failing case that this will fix is
something matching on `*://*.domain.com/*` because it wouldn't match
the url with no subdomain.
This codepath is only used on webengine 5.7.1 and webkit backends.
2018-04-14 10:31:20 +12:00
Jay Kamat
3f9099613b
Merge pull request #3807 from slackhead/tabs.mute_messages
...
Add option to mute the Last Tab/First Tab messages when tabs.wrap is false
2018-04-13 12:11:45 -04:00
Jay Kamat
ed76d689b0
Add test for completing other buffer excluding id0
2018-04-10 02:45:12 -04:00
Slackhead
62aa9bdbb3
Added debug() logging for next/prev-tab and test scenarios
2018-04-09 02:03:02 +01:00
Slackhead
fac546e9b4
Remove test scenarios for last/first tab when wrap is off
2018-04-08 18:56:16 +01:00
Jay Kamat
76dbfa7305
Allow searching for double semicolons
...
Possibly breaks scripts using :search with ;; to split commands. A
workaround is to put the :search command at the end.
2018-04-05 17:20:50 -04:00
Jay Kamat
9ad6cef369
Add a test for leading arguments
2018-04-01 21:00:02 -04:00
Ryan Roden-Corrent
bca07eebba
Unit-test configmodel arg filtering.
...
Test that values the user has already input are omitted from the
suggestions. This brings configmodel coverage back to 100%.
2018-03-31 18:55:54 -04:00
Ryan Roden-Corrent
707fc1176d
Regen completion if args change.
...
Allow completion functions to react dynamically to args as the user
inputs them. This allows config-cycle to filter out values that were
already provided.
Args provided after the maxsplit do not cause the completion to regen.
For example, successive words typed after `:open` just set the filter
pattern and do not spuriously regenerate the completion model.
2018-03-31 11:45:50 -04:00
Jay Kamat
cb8a75577e
Add tests for hinting with --first
2018-03-30 15:03:08 -04:00
Florian Bruhin
d7455bcdba
Merge remote-tracking branch 'origin/pr/3765' into adblock
2018-03-28 20:32:47 +02:00
Michal Siedlaczek
d606cd5550
spell test formatting and docstrings
2018-03-28 14:13:46 -04:00
Michal Siedlaczek
7c1de99876
Fix test coverage
2018-03-28 12:16:50 -04:00
George Edward Bulmer
2789bec1e7
Modify assert_url to treat localhost differently
2018-03-28 14:27:17 +01:00
Florian Bruhin
32568a6da4
Simplify tests
2018-03-28 09:33:27 +02:00
Jussi Timperi
046a3dc159
Add option to only show favicons for pinned tabs
...
Closes #3440
2018-03-28 00:45:57 +03:00
Florian Bruhin
9cff0e7367
Merge remote-tracking branch 'origin/pr/3742'
2018-03-27 12:01:18 +02:00
Florian Bruhin
e5ffcbd49f
Merge remote-tracking branch 'origin/pr/3750'
2018-03-27 11:07:29 +02:00
Florian Bruhin
2249a88e3a
Make test_simple_js_webengine work correctly
2018-03-27 07:29:43 +02:00
Florian Bruhin
6dbd6d1ddf
Move test_qt_javascript.py
2018-03-27 07:14:05 +02:00
Florian Bruhin
6ecea8ef17
Revert accidental changes to test_qt_javascript.py
2018-03-27 07:13:17 +02:00
Florian Bruhin
021bb25622
Add regenerating website to contributing.asciidoc
...
[ci skip]
(cherry picked from commit 9f95736bbe4a00c9cc4a8b222ab3dc55d6bdf96c)
2018-03-26 22:53:46 +02:00
Florian Bruhin
d4899240de
Break long lines
2018-03-26 10:51:04 +02:00
Ryan Roden-Corrent
f237a87ad0
Completion for varargs.
...
When a command has positional varargs, keep offering the configured
completion for each successive argument.
Right now this only influences `config-cycle`.
Previously, `config-cycle <option> ` would offer a value completion for
only the first argument after the option. Now it will keep offering
value completion for each successive argument.
This will be useful for passing multiple tags to the new bookmark
commands that will be added for #882 .
2018-03-25 21:59:30 -04:00
Philip Lewis
cecb79cf05
Fix keyhints for special characters
...
`prefix` is a string and `seq` is a key sequence, so removing `len(prefix)`
items from `seq` will remove too many if `prefix` contains a special character
(ex "<Ctrl+x>"). Remove the number of characters from `str(seq)` instead.
2018-03-25 15:18:02 -04:00
Florian Bruhin
d4ea1df232
Improve window_open.html tests
2018-03-25 19:56:48 +02:00
Florian Bruhin
91ca7d0911
tests: Rename close function in window_open.html
...
Naming it close() conflicts with the global JS close()
2018-03-25 19:39:34 +02:00
George Edward Bulmer
a85ac1725f
Missing fullstop in a docstring
2018-03-24 22:56:47 +00:00
George Edward Bulmer
eb5684e5f7
Pylint fix
2018-03-24 21:52:26 +00:00
George Edward Bulmer
b9bcad9c14
Grammar change
2018-03-24 21:13:22 +00:00
George Edward Bulmer
64b01cc076
Remove extraneous part
2018-03-24 21:10:23 +00:00
George Edward Bulmer
1380fef600
Add test for parsing multiple lines
2018-03-24 21:08:55 +00:00