Florian Bruhin
2884277dbd
Fix Shift-Insert without it being supported
2017-03-31 13:05:34 +02:00
Florian Bruhin
dc405ec3a8
Skip QtWebEngine SSL tests on Windows
2017-03-31 13:05:34 +02:00
Florian Bruhin
a4619d07db
tests: Wait until about:blank is loaded
2017-03-31 13:03:40 +02:00
Florian Bruhin
bf66bb221f
Ignore getrlimit error during tests
2017-03-31 13:03:40 +02:00
Florian Bruhin
708b46d6c0
Fix text with empty primary selection
2017-03-31 13:03:40 +02:00
Florian Bruhin
4d49d9da09
Skip renderer process crash test on Windows
2017-03-31 13:03:40 +02:00
Florian Bruhin
c551c62c27
Stabilize JS tests
2017-03-31 13:03:40 +02:00
Florian Bruhin
dc0a782839
Run python in hints tests
2017-03-31 13:03:40 +02:00
Florian Bruhin
2c4e549d80
Close temporary download file for QtWebEngine
...
Otherwise, Chromium won't be able to write on it on Windows - and we only
need the name anyways.
2017-03-31 13:03:18 +02:00
Florian Bruhin
edb197b028
Make waiting for download prompt more robust
2017-03-31 13:03:18 +02:00
Florian Bruhin
e28eabe5eb
Add marker for #2478
2017-03-31 13:03:17 +02:00
Florian Bruhin
5a16133685
Fix prompt with SSL error test
2017-03-31 13:03:17 +02:00
Florian Bruhin
3b351d9066
Run more invocation tests with QtWebEngine
2017-03-31 06:18:43 +02:00
Florian Bruhin
6939f81de7
Merge commit '563a5431e35831cb0a8c418835c54d0264d92c78' into Kingdread/windows-drive-cwd
2017-03-30 10:48:39 +02:00
Florian Bruhin
6a144ef7bd
Merge branch 'Kingdread/windows-drive-cwd'
2017-03-30 10:41:58 +02:00
Daniel Schadt
186eab8eb1
use message.error instead of a tooltip
2017-03-29 17:07:53 +02:00
Florian Bruhin
93a12797aa
Fix quteprocess tests with Python 3.6 on Windows
...
Values smaller than 86400 would result in a negative unsupported timestamp and
thus throw ValueError in Python 3.6
2017-03-28 20:53:11 +02:00
Florian Bruhin
fe81f153cf
tests: Ignore "Unable to locate theme engine" messages
2017-03-28 20:41:23 +02:00
Imran Sobir
4a4c7b96d1
Add nojs history page.
2017-03-28 18:34:47 +05:00
Florian Bruhin
5a4d11be68
Fix lint
2017-03-27 07:16:10 +02:00
Florian Bruhin
a8bc531eee
Add a test for :open with -s
2017-03-27 07:09:55 +02:00
Daniel Schadt
a011034ff7
fix tests
2017-03-24 13:21:09 +01:00
Daniel Schadt
df83f7aa99
also add path transformations to :download
2017-03-24 12:30:29 +01:00
Daniel Schadt
07b3a7db7c
add integration tests for reserved filenames
2017-03-24 11:57:05 +01:00
Daniel Schadt
6319363614
add a test for downloading a 500 inline attachment
2017-03-22 13:38:03 +01:00
Florian Bruhin
3fbb9a14e0
Fix continuing a search after clearing it
...
Fixes #2438
2017-03-20 21:34:33 +01:00
Florian Bruhin
4b6b9c2d21
Add missing file
2017-03-20 11:28:01 +01:00
Florian Bruhin
3e2ba32240
Fix retrying downloads with QtWebEngine
...
Fixes #2298
2017-03-20 09:35:53 +01:00
Florian Bruhin
7652b6ae03
Merge commit '724e6b29c38a55f722f17997379f1ebe190fa6db'
2017-03-20 09:11:47 +01:00
thuck
20d058741e
Merge branch 'pintab' of https://github.com/thuck/qutebrowser into pintab
2017-03-19 14:43:36 +01:00
thuck
650b1de3b6
Merge branch 'master' of https://github.com/The-Compiler/qutebrowser into pintab
2017-03-19 14:26:48 +01:00
Florian Bruhin
0b5838f9fd
Fix BDD version check operators
2017-03-08 20:56:30 +01:00
Florian Bruhin
f86f9cd92a
Refactor qtutils.version_check API
...
Fixes #2423
2017-03-08 08:41:18 +01:00
Florian Bruhin
d42dff67f2
Reorder initialization
...
marcos.init() really belongs into _init_modules, and we need to do _process_args
after everything has been initialized.
Fixes #2408 .
2017-03-07 06:46:35 +01:00
Florian Bruhin
5fb6d26465
Stabilize some tests
2017-03-06 06:28:26 +01:00
Florian Bruhin
fa89fff668
Stabilize session tests
2017-03-05 15:15:12 +01:00
Florian Bruhin
5ccafd62d4
Fix initial keyboard focus with QtWebEngine
...
Fixes #2321 .
2017-03-04 18:11:34 +01:00
Florian Bruhin
65a701a180
Stabilize existing text test
2017-03-02 08:38:07 +01:00
Florian Bruhin
d6f47bd3fb
Fix lint
2017-03-02 08:29:43 +01:00
Florian Bruhin
81a36ffd7d
Strip QtWebEngine download suffixes properly
...
Fixes #2386
2017-03-01 23:43:04 +01:00
Florian Bruhin
88904864c9
Skip failing tests on Qt < 5.8
2017-03-01 20:24:34 +01:00
Florian Bruhin
b4af966167
Make stubbed methods fail tests again
...
Only some caret browsing stuff and a few webelement methods are stubbed out now.
Make them fail tests so we notice when we use a stub.
2017-03-01 17:43:33 +01:00
Florian Bruhin
bc0a9cd94d
Move cursor to end with input elements on QtWebEngine
2017-03-01 17:30:48 +01:00
Florian Bruhin
1e1ba34b60
Fix selecting text fields with QtWebKit
...
Using focus() in JS there means that existing text in the field gets selected.
Move the cursor to the end after focusing it to prevent that.
Fixes #2359
2017-03-01 17:13:02 +01:00
Florian Bruhin
67dfbc7e5f
Don't create QWebEngine profile at import time
...
Fixes #2378
2017-02-28 17:24:48 +01:00
Florian Bruhin
4f90fd952d
Skip test_qt_arg on Qt 5.2
2017-02-28 08:22:06 +01:00
Florian Bruhin
8d22991d03
Fix test_qt_args
2017-02-27 15:12:38 +01:00
Florian Bruhin
07a20bd1ad
Add an end2end test for --qt-arg
2017-02-27 14:02:13 +01:00
Imran Sobir
845f21b275
New qute:history page.
2017-02-26 17:07:30 +05:00
Florian Bruhin
fc2250b3b2
Merge branch 'session-save-only-active-window' of https://github.com/danfis/qutebrowser into danfis-session-save-only-active-window
2017-02-25 17:55:42 +01:00
Florian Bruhin
1eab108323
Merge branch 'upstream-master-jseval-file' of https://github.com/pkill-nine/qutebrowser into pkill-nine-upstream-master-jseval-file
2017-02-25 17:26:12 +01:00
pkill9
6cb48ba2b6
Adds a --file flag to :jseval
2017-02-25 13:11:53 +00:00
Florian Bruhin
3feb4211fe
Don't show hints for opacity: 0 elements
...
Fixes #2347
2017-02-24 09:13:25 +01:00
Florian Bruhin
06c4a100cc
Fix QtWebKit-NG private-browsing tests
2017-02-23 08:15:18 +01:00
Florian Bruhin
ce3c0a0f55
Mark more private-browsing tests as xfail with QtWebKit-NG
2017-02-23 08:13:40 +01:00
Daniel Fiser
81a24bdbef
Fixed test of :session-save --only-active-window
2017-02-22 17:04:57 +01:00
Daniel Fiser
76bb11c6aa
Added test for :session-save --only-active-window
2017-02-22 14:16:46 +01:00
Florian Bruhin
77f475991d
tests: Ignore CreatePlatformSocket() errors
2017-02-21 20:52:46 +01:00
Florian Bruhin
389501deb9
Merge branch 'navigate-fix' of https://github.com/EliteTK/qutebrowser into EliteTK-navigate-fix
2017-02-19 20:22:27 +01:00
Tomasz Kramkowski
1fcba72958
tests navigate: Add tests for rel attributes with nofollow
...
Add two extra tests for checking navigation on pages with rel "next" and
"prev" links which are also rel "nofollow" to test for the correct
functionality of navigating pages with rel "next" and "prev" links with
multiple rel attributes.
2017-02-19 12:32:19 +00:00
Florian Bruhin
01db59ff36
Handle all uerscript errors when hinting with userscript-target
2017-02-19 13:15:15 +01:00
Florian Bruhin
399b02a367
Fix subtle issue in hint bdd tests
...
- We need to clean open tabs to avoid reusing target=_blank child tabs
- We don't check the active tab with target=_blank anymore
- Remove some weird :tab-close
2017-02-17 22:07:59 +01:00
Florian Bruhin
ac9b0e5c59
bdd: Allow checking open tabs without (active)
2017-02-17 22:07:23 +01:00
Florian Bruhin
6ac7e61e0e
Add testcase for #2311
2017-02-17 21:32:40 +01:00
Florian Bruhin
0deb422cfd
Remove unused imports
2017-02-17 15:44:25 +01:00
Florian Bruhin
006378923e
Skip geolocation tests on Qt 5.8
...
https://bugreports.qt.io/browse/QTBUG-58985
2017-02-17 14:45:36 +01:00
Florian Bruhin
a86170f45d
Drop PyQt < 5.7.1 support for QtWebEngine
2017-02-17 14:42:57 +01:00
Florian Bruhin
f718b66c48
Disable mhtml tests for Qt 5.6
2017-02-17 14:32:38 +01:00
Florian Bruhin
ba21fb3784
webengine: Use _click_href for hinting target=_blank links
...
Fixes #2311
2017-02-17 06:57:31 +01:00
Florian Bruhin
a4f04db848
Cap scroll count to 5000
...
Fixes #1694
2017-02-11 22:26:37 +01:00
Florian Bruhin
bd8ead2279
Detect rel-attributes on <a> elements for :navigate
2017-02-11 20:48:48 +01:00
Florian Bruhin
c3153273f5
Merge branch 'master' of https://github.com/imransobir/qutebrowser into imransobir-master
2017-02-11 17:05:57 +01:00
Imran Sobir
37c3b79b9b
Add :history command.
2017-02-10 17:47:20 +05:00
Florian Bruhin
85d8d45e19
Ask for confirmation with :history-clear
2017-02-09 13:20:00 +01:00
Florian Bruhin
708c96f3ce
Fix handling of @qt>= BDD tags
2017-02-09 00:50:37 +01:00
Florian Bruhin
0d271eba87
Mark tests using special URLs as Qt >= 5.8
2017-02-09 00:50:37 +01:00
Florian Bruhin
a3caba53d5
Allow single-dot version tags in BDD tests
2017-02-09 00:50:37 +01:00
Florian Bruhin
00c743b3e8
Relax complex mhtml check for QtWebEngine
...
Turns out the output differs between QtWebEngine versions, probably because it
dumps its parsed files. Let's just do a sanity check for the complex file
instead.
2017-02-09 00:50:37 +01:00
Florian Bruhin
ac2fd4a36f
Skip special URL tests with QtWebKit
2017-02-08 13:04:38 +01:00
Florian Bruhin
7c08444c37
Refuse to serialize chrome:// and view-source:// tabs
...
Fixes #2289
2017-02-08 11:40:00 +01:00
Florian Bruhin
580648da32
Allow to open chrome:// URLs in BDD tests
2017-02-08 11:32:14 +01:00
Florian Bruhin
1af951fd62
Work around crashes when opening URL after renderer crash
...
Fixes #2290
2017-02-08 10:56:44 +01:00
Florian Bruhin
2227c037f0
Log ignored lines in end2end tests
2017-02-08 09:45:12 +01:00
Florian Bruhin
208ee04bdc
Add simple tests for QtWebEngine renderer crash/kill
2017-02-08 09:41:55 +01:00
Florian Bruhin
7bb8c854bf
tests: Make user-agent download hinting more reliable
2017-02-07 23:33:37 +01:00
Florian Bruhin
4b79280ade
tests: Use number hint mode to select download
...
Other screen sizes will give us other letter hints.
2017-02-07 23:23:59 +01:00
Florian Bruhin
bdcd980572
Fix bdd "Then" collision
2017-02-07 22:27:32 +01:00
Florian Bruhin
3f1433dcf7
Merge branch 'webengine-mhtml'
2017-02-07 22:24:25 +01:00
Florian Bruhin
5981bdbedb
Skip test failing on Travis
...
See #2288
2017-02-07 22:23:55 +01:00
Florian Bruhin
eb7064d083
Fix lint
2017-02-07 22:13:33 +01:00
Florian Bruhin
7aa0e900d7
Add mhtml support for QtWebEngine
2017-02-07 22:13:33 +01:00
Florian Bruhin
bae1f41599
Set user-agent for QtWebKit downloads
...
See #513
2017-02-07 22:00:03 +01:00
Imran Sobir
216cef8d9f
Add basic end-to-end test for qute:history.
2017-02-07 16:18:00 +05:00
Florian Bruhin
91bdc00410
Make tests work with QtWebKit-NG
...
Fixes #1571
2017-02-06 08:48:08 +01:00
Florian Bruhin
348a50ad69
Fix inserting text with QtWebEngine
...
The insertText event doesn't seem to be available with newer Chromium releases,
which means this broke (probably with Qt 5.7.1).
Fixes #2183
Fixes #2217
2017-02-06 08:06:58 +01:00
Florian Bruhin
5e58764326
Fix lint
2017-02-05 19:52:59 +01:00
Florian Bruhin
2193551035
Simplify test_insert_mode
...
We already check whether insert mode was entered by listening for "contents: *",
and the copying part is unstable with QtWebEngine.
2017-02-05 18:44:39 +01:00
Florian Bruhin
bcfa84e9f1
Remove QtWebEngine auth test
...
This now acts differently depending on whether we have sip.assign or not, so
let's just drop this for simplicity.
2017-02-05 17:20:24 +01:00
Florian Bruhin
288c484cdf
Fix mhtml file
2017-02-05 00:29:54 +01:00
Florian Bruhin
4cf974796e
Replace remaining mentions of The-Compiler/qutebrowser
2017-02-05 00:14:50 +01:00