Florian Bruhin
7b08c3e282
Check URL validity for :navigate up/strip
2020-08-03 16:33:51 +02:00
Florian Bruhin
b784438e3d
Turn some :navigate tests into unit tests
2020-08-03 16:31:29 +02:00
Florian Bruhin
bd97768c37
Merge remote-tracking branch 'origin/pr/4438'
2020-08-03 16:05:39 +02:00
Florian Bruhin
1e66515348
tests: Mark another autofocus test as flaky
2020-08-03 10:19:56 +02:00
Florian Bruhin
83e3b37764
tests: Don't check active window
...
Window focus can differ depending on timing/WM/...
2020-07-31 16:20:35 +02:00
Florian Bruhin
916d99161e
Add test for hint statusbar text
2020-07-31 16:18:16 +02:00
Florian Bruhin
c048a48b78
Add a test for ignoring _toggle_sel_translate
2020-07-31 15:50:29 +02:00
Florian Bruhin
592735767f
tests: Fix setting backend for webkit_tab/webengine_tab fixtures
...
This ensures we have the backend set to QtWebKit correctly when using
webkit_tab.
2020-07-31 15:44:00 +02:00
Florian Bruhin
cc3acad808
tests: Improve comments
2020-07-31 15:17:56 +02:00
Florian Bruhin
8d54226e6d
Mark autofocus test as flaky
...
Most likely due to #5605
2020-07-30 14:33:11 +02:00
Florian Bruhin
02a505a55e
Run editor tests with/without watch=True
2020-07-30 13:30:21 +02:00
Florian Bruhin
0a69ba761a
Make sure the edited file exists in ExternalEditor.edit_file
2020-07-30 13:29:12 +02:00
Florian Bruhin
8afe27885b
Add timestamp to :undo completion
2020-07-29 20:53:30 +02:00
Florian Bruhin
f42cc99595
Add completion for :undo
...
See #32
2020-07-29 20:53:30 +02:00
Florian Bruhin
e9cf19503d
Move current tab to CompletionInfo
...
That way it can be used by other future completions easily as well.
2020-07-29 20:40:52 +02:00
Florian Bruhin
9bdcea42de
Fix QDateTime conversions
...
- Qt 5.7 doesn't have QDateTime::(from|to)SecsSinceEpoch, so we need to use the
msecs variant instead.
- We were passing a float which causes a TypeError (rather than being truncated
to an int) with newer PyQt versions.
2020-07-29 20:39:53 +02:00
Florian Bruhin
f86cd440de
Merge remote-tracking branch 'origin/pr/4180' into completion
2020-07-29 13:02:01 +02:00
Florian Bruhin
0a3d81ba25
tests: Disable xvfb in test_check_coverage
...
Looks like it raises a ByteWarning for some reason...
2020-07-29 11:28:39 +02:00
Florian Bruhin
13267033d0
tests: Make some more plugins optional
2020-07-29 11:26:30 +02:00
Florian Bruhin
a633bff120
tests: Check return status in test_check_coverage
2020-07-29 11:19:41 +02:00
Florian Bruhin
262b38430b
tests: Set pytrace=False
2020-07-29 10:33:39 +02:00
Florian Bruhin
c99bf8ba32
tests: Retry setting JS HTML if loading timed out
...
Should hopefully help with flakiness on macOS...
See #5390
2020-07-28 20:40:29 +02:00
Florian Bruhin
858bf65b54
Disallow :undo --window with count
2020-07-28 20:22:37 +02:00
Florian Bruhin
73cf1c1658
Fix tests for :undo with count
2020-07-28 20:15:26 +02:00
Florian Bruhin
72a4f3086d
Merge remote-tracking branch 'origin/pr/5207'
2020-07-28 19:55:17 +02:00
Florian Bruhin
537a5f02ca
Merge remote-tracking branch 'origin/pr/4645' into private-window
2020-07-28 18:42:38 +02:00
Florian Bruhin
9b13c2044f
Point out :undo --window in error message
2020-07-28 17:34:01 +02:00
Florian Bruhin
0831060b08
Merge remote-tracking branch 'origin/pr/4807' into window-undo
2020-07-28 16:22:38 +02:00
Florian Bruhin
cba915c671
Handle invalid URLs with QtWebKit
2020-07-28 14:07:02 +02:00
Florian Bruhin
278a7ce6c0
Fix indent
2020-07-27 17:46:56 +02:00
Florian Bruhin
990b85dbb0
Add some tests for utils.sanitize_filename
2020-07-27 17:19:39 +02:00
Florian Bruhin
3657746a9b
Simplify utils.sanitize_filename calls
...
I don't think it makes sense for callers to repeat the max_bytes calculation.
2020-07-27 17:02:32 +02:00
Florian Bruhin
60dae30aa0
Merge remote-tracking branch 'origin/pr/5236'
2020-07-27 16:53:22 +02:00
Florian Bruhin
79914e5385
Fix typo
2020-07-27 15:36:53 +02:00
Florian Bruhin
b6f2276f04
tests: Move userscript importing to helpers
2020-07-27 15:01:38 +02:00
Florian Bruhin
2c41eeb7d2
Merge remote-tracking branch 'origin/pr/5601'
2020-07-27 14:35:37 +02:00
Florian Bruhin
f259547291
tests: Mark another scrolling test as flaky
2020-07-22 13:49:42 +02:00
Wayne Cheng
e6891388eb
qute-lastpass: Code-review changes
2020-07-21 12:09:36 -04:00
Wayne Cheng
ab7da95441
qute-lastpass: Lint and path fix
2020-07-21 12:09:32 -04:00
Wayne Cheng
94cfadbe1f
qute-lastpass: Tighten lookup regex from '.*example.com.*' to '\bexample\.com'
2020-07-21 12:07:51 -04:00
Wayne Cheng
8b96d30155
qute-lastpass: Add tests
2020-07-21 12:07:51 -04:00
Florian Bruhin
c21fb752c4
tests: Mark another history test as flaky
...
Sometimes seems to fail loading qute://history?
2020-07-21 09:07:58 +02:00
Florian Bruhin
ef21a8d832
tests: Speculatively stabilize --only-active-window test
2020-07-21 09:07:06 +02:00
Florian Bruhin
5082331d46
Revert "Avoid leaving insert mode when page finished loading"
...
Causes problems because the insert mode leaving is asynchronous now, so due to
the additional element check it actually happens later and can leave insert
mode even after a different page is already focused.
This reverts commit d54b9bc638 .
This reverts commit a34d392fe1 .
This reverts commit 9bcf0b2369 .
This reverts commit 4ea9758150 .
2020-07-20 16:22:35 +02:00
Florian Bruhin
a1694a3657
Clean up tab switch mode tests
2020-07-20 16:15:40 +02:00
Florian Bruhin
d54b9bc638
Fix lint
2020-07-20 14:42:05 +02:00
Florian Bruhin
a34d392fe1
tests: Update logged messages
2020-07-20 14:40:53 +02:00
Florian Bruhin
9bcf0b2369
Avoid leaving insert mode when page finished loading
2020-07-20 14:19:38 +02:00
Florian Bruhin
4ea9758150
tests: Add delayed-image to webserver_sub
2020-07-20 14:03:07 +02:00
Florian Bruhin
8e4dec2b6e
tests: Mark another scrolling test as flaky
2020-07-20 10:55:21 +02:00