Florian Bruhin
05a65fdb2f
Merge remote-tracking branch 'origin/pr/4309'
2019-03-04 13:43:26 +01:00
Jay Kamat
3e816f5f8b
Update copyright for 2019
2019-02-22 21:45:08 -08:00
Florian Bruhin
b3fa43a97c
Fix broken test_on_tab_changed
2018-11-30 11:19:34 +01:00
Florian Bruhin
0104490978
Use enum values for load_status_changed
2018-11-29 19:44:48 +01:00
Jay Kamat
6a6b56bbf4
Don't apply default icon to unshrunk and vertical tabs
...
The rationale is that this is only useful to give pinned tabs space
when shrunk in a horizontal tabbar.
2018-10-12 22:35:28 -07:00
Florian Bruhin
b57db67670
Remove test for removed workaround
2018-10-10 09:14:19 +02:00
Florian Bruhin
07d63e02c7
Expose fake statusbar for test_elided_text
...
Otherwise, we miss the paintEvent coverage.
2018-10-06 21:53:54 +02:00
Florian Bruhin
f63eb8ea15
Avoid showing widgets in tests if unneeded
...
This avoids odd X errors with test_webenginetab.py, and also makes it run much
faster (0.8s instead of 1.3s).
2018-10-06 19:06:34 +02:00
Florian Bruhin
eb2ec3df58
Decrease num_tabs for test_add_remove_tab_benchmark
...
With 100 tabs, this takes 28s on my machine, and sometimes >90s on Travis.
With 70 tabs, it's down to 14s.
2018-10-06 12:28:49 +02:00
Jay Kamat
2f155e5d2b
Fix tabs appearing when updating all tab titles
...
Closes #4295
2018-10-05 18:55:30 -07:00
Jay Kamat
322b053cbf
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/visible-update-titles
2018-09-29 12:29:50 -07:00
Jay Kamat
a5f9115b2f
Only apply visibility toggle if we have >10 tabs
2018-09-29 12:26:42 -07:00
Jay Kamat
3081d017ce
Move tabbedbrowser test to tabwidget
2018-09-27 23:30:54 -07:00
Jay Kamat
de148bb778
Fix tabwidget tests
2018-09-27 19:59:43 -07:00
Jay Kamat
d64771b8e3
Clean up tab min/max width tests
2018-09-27 18:57:26 -07:00
Jay Kamat
e01682f51d
Add tabs.max_width setting
2018-09-26 21:39:45 -07:00
Florian Bruhin
133ed5604e
Fix lint
2018-09-26 08:43:13 +02:00
Jay Kamat
77703c5263
Add benchmark for _tab_pinned
2018-09-23 22:58:48 -07:00
Florian Bruhin
b0185e3c8a
Use config_stub.val instead of config_stub.set_obj in tests
2018-09-02 14:42:47 +02:00
Jay Kamat
07d043fe81
Add basic tests for tab width sizing
2018-03-22 14:27:33 -04:00
Florian Bruhin
a374698693
Fix lint
2018-03-20 06:38:11 +01:00
Florian Bruhin
c590648077
Merge remote-tracking branch 'origin/pr/3613'
2018-03-13 08:39:36 +01:00
Johannes Wegener
cf4e472461
add basic completion to file dialog
2018-03-09 16:21:57 +01:00
Florian Bruhin
5eeb223338
Use a different directory for file prompt tests
...
This way they aren't influenced by the config_tmpdir fixture.
2018-02-19 22:08:42 +01:00
bttner
e169e2165d
Refactor TabbedBrowser from inheritance to composition
2018-02-19 14:29:05 +01:00
Jay Kamat
11e04c79f4
Add add/remove tests to benchmarks
2018-02-10 15:10:33 -05:00
6f9be72c5b
Update tests for statusbar changes
2018-02-10 13:15:12 +01:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Florian Bruhin
c8de4675db
Various spelling fixes
2018-02-04 21:30:59 +01:00
Jay Kamat
64b6852ae3
Fix a couple style issues
2017-10-30 12:40:44 -04:00
Jay Kamat
97d719b179
Add a simple benchmark for _update_tab_titles
2017-10-26 21:33:10 -04:00
Florian Bruhin
7cbb2b079f
Use existing tabbed_browser_stubs fixture in tests
2017-10-04 06:35:42 +02:00
Florian Bruhin
73ea316501
Use upper-case Monospace in test_progress_affecting_statusbar_height
...
While the test worked again with eb4691adfc
, it
broke again immediately because of 40ee89bddc
.
With that fix in, the lower-case monospace in the set value was immediately
replaced by the full list of fonts again. With an upper-case Monospace, this
won't happen.
Fixes #2825 , for real this time.
2017-09-12 22:51:52 +02:00
Florian Bruhin
eb4691adfc
Fix test_progress_affecting_statusbar_height on Windows
...
Fixes #2825
2017-09-12 22:12:37 +02:00
Ryan Roden-Corrent
71b71dbc58
Merge remote-tracking branch 'upstream/master' into HEAD
2017-08-06 18:13:49 -04:00
Florian Bruhin
1e58c87380
Improve test for messageview timeout
2017-07-11 09:25:53 +02:00
Yashar Shahi
a631c971d9
Add tests for show messages longer
...
Add tests for "Show messages longer if there are multiple of them."
2017-07-10 20:52:42 +04:30
Florian Bruhin
e81dcccace
Add a test for a None currentWidget with backforward widget
2017-07-10 09:29:45 +02:00
Florian Bruhin
5fb6cb713b
Hide back/forward widget when there's no text
2017-07-10 07:59:56 +02:00
Florian Bruhin
0e8175b8eb
Update docstrings/docs
2017-07-09 23:27:34 +02:00
Daniel Hahler
b3a9e09d6c
Add statusline widget for back/forward indicator
...
Fixes https://github.com/qutebrowser/qutebrowser/issues/2737 .
2017-07-09 22:38:44 +02:00
Florian Bruhin
cff61fa0bc
Fix pylint
...
This also reverts commit 8df0b063be
.
2017-07-04 15:34:10 +02:00
Florian Bruhin
f98b8a240e
Fix flake8
2017-07-04 15:09:23 +02:00
Florian Bruhin
22b0f2fd24
Various simple test updates for new config
...
test_cache
test_cookies
test_webkitelem
test_cmdutils
test_runners
test_completionwidget
test_messageview
test_editor
test_miscwidgets
test_sessions
test_urlutils
test_utils
test_prompt
statusbar/test_*
test_cmdhistory
test_tabwidget
test_tab
test_downloads
test_networkmanager
2017-07-04 15:08:04 +02:00
Florian Bruhin
d0904a9f67
Adjust test settings
2017-07-04 15:08:02 +02:00
Florian Bruhin
af7923de4d
tests: Use pytest.param
2017-05-23 08:08:46 +02:00
Florian Bruhin
c32c01ffc0
Merge commit '419793c0b9ff4f293babea7623dcaf4787bbaa35'
2017-05-22 07:55:44 +02:00
Florian Bruhin
c4fb2bc609
Fix URL/renderer crash tests with Qt 5.9
...
The behavior in Qt changed there (in a good way), so we need to adjust the tests
accordingly.
Fixes #2514
2017-05-19 08:10:17 +02:00
Jay Kamat
725bafea54
Merge branch 'master' into jay/pintab
2017-05-10 23:51:33 -07:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00