Florian Bruhin
b21f7be03a
Remove qtwebengine_todo for position:absolute test
2016-10-03 06:55:58 +02:00
Florian Bruhin
5b11eaad85
Merge branch 'issue1987' of https://github.com/HolySmoke86/qutebrowser into HolySmoke86-issue1987
2016-10-03 06:45:01 +02:00
Florian Bruhin
c7b74edfbe
Merge branch 'issue1940' of https://github.com/HolySmoke86/qutebrowser into HolySmoke86-issue1940
2016-10-03 06:41:19 +02:00
Florian Bruhin
c80f18522c
Remove now-duplicate test
...
TestKeychain.test_count_0 now tests the exact same thing.
2016-09-30 18:17:28 +02:00
Florian Bruhin
28c87b5c6b
Use right key in test_basekeyparser
2016-09-30 18:15:59 +02:00
Florian Bruhin
083d847316
Add a test for a zero count
2016-09-30 18:14:36 +02:00
Florian Bruhin
6b76d5defa
Whitespace changes
2016-09-30 17:54:23 +02:00
Daniel Karbach
dc344989c6
revised missing userscript error messages
2016-09-30 09:50:49 +02:00
Daniel Karbach
bac22629e3
test for yanking queries with both '&' and ';'
2016-09-30 09:15:05 +02:00
Florian Bruhin
822c100f52
Make 0 a usable count for :tab-focus
...
Fixes #1768
2016-09-30 08:33:16 +02:00
Daniel Karbach
8eb12c6cb9
improved error messages for inexistent userscripts
...
fixes #1940
2016-09-29 13:29:39 +02:00
Daniel Karbach
ae674bc4ac
test for yanking URLs with '&' in query
...
for completeness' sake
2016-09-29 11:04:38 +02:00
Daniel Karbach
4aa3ea89b3
test for yanking URLs with ';' separated queries
...
refs #1987
2016-09-29 10:44:05 +02:00
Daniel Karbach
6728bb6430
show webview when caret testing
...
fixes #1988
2016-09-29 09:26:58 +02:00
Florian Bruhin
5b27e06ce2
Add xfailing test for #1945
2016-09-29 07:16:40 +02:00
Florian Bruhin
b0a2bfa3ee
tests: Make scrolling checks stricter
2016-09-29 07:13:34 +02:00
Florian Bruhin
450730df2c
Add position_absolute.html test file
...
Supersedes #1984 .
2016-09-29 06:49:41 +02:00
Florian Bruhin
609e206816
Use pytest.fail
2016-09-29 06:37:04 +02:00
Florian Bruhin
9eacf42693
Import modules
2016-09-29 06:36:31 +02:00
Florian Bruhin
42b7d1d10f
Add a colon
2016-09-29 06:35:47 +02:00
Daniel Karbach
d00750126e
remove superfluous pass statement
2016-09-28 15:50:59 +02:00
Daniel Karbach
7884594f1b
simplify checks in version invocation test
2016-09-28 15:31:32 +02:00
Daniel Karbach
73e1460556
test for --version invocation
2016-09-28 14:38:15 +02:00
Daniel Karbach
a3bf53d0cd
removed blank lines around function docstring
...
D201/D202
2016-09-27 16:01:25 +02:00
Daniel Karbach
fb68245f2e
unit test for utils.version._path_info()
...
refs #1947
2016-09-27 15:36:18 +02:00
Daniel Karbach
10a1977459
adjust version unit test
...
to accomodate for new output from path info
refs #1947
2016-09-27 12:48:19 +02:00
Ryan Roden-Corrent
14f8ec8754
Error on mode/command mismatch with :bind.
...
Resolves #1964 (:bind should error for mode/command mismatch)
2016-09-26 08:30:28 -04:00
Ryan Roden-Corrent
6fdd007dbb
Simplify mode-checking in command.
...
Rather than maintaining separate _modes and _not_modes lists, just
build a single _modes list in the constructor.
2016-09-26 08:30:28 -04:00
Florian Bruhin
45ce430774
Fix test_check_coverage
2016-09-26 08:11:45 +02:00
Florian Bruhin
27b524300b
Improve configtypes tests
...
This also gets configtypes.py back to 100% coverage
2016-09-26 06:33:14 +02:00
Florian Bruhin
ab7cbfdea0
Improve keyhint tests
...
This also brings them back to 100% coverage
2016-09-25 16:42:13 +02:00
Florian Bruhin
123aace3e8
Fix keyhint tests
2016-09-23 15:05:01 +02:00
Florian Bruhin
e04e6c51d1
Add generator argument to set_register_stylesheet
2016-09-22 17:29:03 +02:00
Florian Bruhin
750dfd98af
Generalize statusbar-attached website overlays
...
We already had some duplicated logic for completion/keyhint/messageview,
and plan to add prompt overlays too now - so here we refactor related
code to have a list of overlays instead, which are all
resized/positioned by the mainwindow when needed.
This also changes the size management, which gets moved into the
sizeHint of the respective overlay widgets.
2016-09-22 17:04:39 +02:00
Florian Bruhin
57d896e989
Fix hints when zoomed with QtWebEngine
...
We mutated rect (coming from self._js_dict), which means we used the
already adjusted values the second time we called rect_on_view.
Fixes #1863 .
2016-09-21 20:09:31 +02:00
Ryan Roden-Corrent
1d2cf3b648
Completer: don't try to partition search.
...
Exit before trying to partition if the command prefix is not ':'.
Resolves #1969 :
'TypeError with refactored completion when searching for command'
2016-09-21 07:08:34 -04:00
Florian Bruhin
49f8fa6d76
Add some tests for earlyinit.fix_harfbuzz
...
See #1948
2016-09-16 08:43:12 +02:00
Florian Bruhin
e5b3880b71
Check for spaces in URLs with explicit scheme
...
Fixes #1954
2016-09-15 22:29:21 +02:00
Florian Bruhin
d0d3245d48
Remove extra blank line
2016-09-15 17:19:53 +02:00
Florian Bruhin
04a891cbf0
Merge branch 'kwonly-default-fix' of https://github.com/Kingdread/qutebrowser into Kingdread-kwonly-default-fix
2016-09-15 17:19:26 +02:00
Florian Bruhin
9db3d3f7c3
Merge branch 'completion_tests' of https://github.com/rcorre/qutebrowser into rcorre-completion_tests
2016-09-15 16:47:32 +02:00
Florian Bruhin
018e9ef4a3
Merge branch 'completion_split' of https://github.com/rcorre/qutebrowser into rcorre-completion_split
2016-09-15 16:44:54 +02:00
Daniel Schadt
eabfdb3c16
tests: make sure the type error is the one we want
2016-09-15 16:42:02 +02:00
Florian Bruhin
6e9501073a
Remove @qtwebengine_todo for qute:settings
2016-09-15 16:13:51 +02:00
Florian Bruhin
37fa7431b0
Serve broken qutebrowser logo via qute:resources
...
This is needed when we want to display an error page after the user
requested a qute:// URL, as qute:// URLs can't access file:// content
with QtWebEngine.
2016-09-15 16:06:25 +02:00
Daniel Schadt
b6d9d3f955
fix tests for new "default required" policy
...
This test had a keyword only parameter without a default, which is now
disallowed. This caused the test to fail.
2016-09-15 15:46:26 +02:00
Daniel Schadt
0ef5d338bd
make sure keyword-only arguments have a default
...
Fixes #1872 .
This prevents inspect.Parameter.empty from slipping through to the
command.
2016-09-15 15:44:33 +02:00
Florian Bruhin
8bdcd49626
Fix lint
2016-09-15 15:10:55 +02:00
Florian Bruhin
44e8296a66
Remove environment variables from version()
...
We already have those in the report anyways.
2016-09-15 14:59:32 +02:00
Florian Bruhin
e338d4b49c
Add MessageView tests
2016-09-15 14:51:22 +02:00