Florian Bruhin
|
6c20190473
|
Merge branch 'master' of https://github.com/forkbong/qutebrowser into forkbong-master
|
2015-11-04 07:12:32 +01:00 |
|
Florian Bruhin
|
702842c977
|
configtypes: Handle max. recursion depth for Regex.
|
2015-11-04 07:02:23 +01:00 |
|
Panagiotis Ktistakis
|
dc06787f83
|
Make key config migration for clearing downloads.
|
2015-11-04 01:01:27 +02:00 |
|
Florian Bruhin
|
2c7b0d2fb4
|
Add some bdd tests for scrolling.
|
2015-11-03 22:42:25 +01:00 |
|
Florian Bruhin
|
49137150ad
|
tests: Print raw yaml in get_session() in QuteProc.
|
2015-11-03 22:41:56 +01:00 |
|
Florian Bruhin
|
2427bf5cb6
|
bdd: Make expect_error handle warnings.
|
2015-11-03 22:40:19 +01:00 |
|
Florian Bruhin
|
17396e1030
|
bdd tests: Add QuteProc.get_session().
|
2015-11-03 14:55:46 +01:00 |
|
Florian Bruhin
|
d992390cbe
|
bdd: Move yankpaste/test.html to yankpaste.html.
|
2015-11-03 14:40:30 +01:00 |
|
Florian Bruhin
|
e31240e6c9
|
tests: Increase wait_for default timeout again.
|
2015-11-03 07:54:24 +01:00 |
|
Florian Bruhin
|
c78bbd9fd0
|
tests: Show some information for WaitForTimeout.
|
2015-11-03 07:53:51 +01:00 |
|
Florian Bruhin
|
535bcab310
|
bdd tests: Restart qutebrowser once per module.
This should be a good compromise between reproducibility and speed.
|
2015-11-03 07:00:46 +01:00 |
|
Florian Bruhin
|
f5eb755ef3
|
tests: Ignore some Qt warnings during teardown.
|
2015-11-03 06:38:48 +01:00 |
|
Florian Bruhin
|
7e0e770d53
|
bdd: Increase timeouts.
|
2015-11-03 06:35:52 +01:00 |
|
Florian Bruhin
|
e13de98790
|
Fix lint.
|
2015-11-02 23:49:44 +01:00 |
|
Florian Bruhin
|
7da0d2b6d5
|
Add some bdd tests for zooming.
|
2015-11-02 23:41:48 +01:00 |
|
Florian Bruhin
|
3155e20999
|
tests: Add helpers to compare sessions.
|
2015-11-02 23:41:48 +01:00 |
|
Florian Bruhin
|
ce6ba605e4
|
Reorganize bdd tests.
|
2015-11-02 20:32:15 +01:00 |
|
Florian Bruhin
|
bb4152d705
|
Add xfail test for vulture bug.
|
2015-11-02 18:25:16 +01:00 |
|
Florian Bruhin
|
1563693037
|
tests: Ignore "QIODevice::write: device not open".
|
2015-11-02 08:15:22 +01:00 |
|
Florian Bruhin
|
7431d7cf89
|
tests: Increase quteproc start timeout.
|
2015-11-02 08:08:36 +01:00 |
|
Florian Bruhin
|
8884de71d8
|
Fix checking for primary selection.
|
2015-11-02 08:07:25 +01:00 |
|
Florian Bruhin
|
672d11e25a
|
Add bdd test for :yank/:paste.
|
2015-11-02 07:43:37 +01:00 |
|
Florian Bruhin
|
0d67cff5cb
|
Merge branch 'bdd'
Conflicts:
tests/test_conftest.py
tox.ini
|
2015-11-02 06:36:30 +01:00 |
|
Florian Bruhin
|
56758c8cea
|
Ignore messages which are in qt_log_ignore.
|
2015-11-02 06:19:19 +01:00 |
|
Florian Bruhin
|
6dc3b5de36
|
Add some margin to wait_for stopwatch.
|
2015-11-02 06:11:35 +01:00 |
|
Florian Bruhin
|
8e09fd929b
|
Ignore QWaitCondition error.
|
2015-11-02 06:10:31 +01:00 |
|
Florian Bruhin
|
4451165a27
|
Change IPC warnings to debug.
This seems to show up on Ubuntu Trusty (with older Qt) as well...
|
2015-11-01 23:11:42 +01:00 |
|
Florian Bruhin
|
b79ccb5e79
|
bdd: Make message matching work.
|
2015-11-01 22:49:39 +01:00 |
|
Florian Bruhin
|
dac2898585
|
Parse log messages in LogLine.
|
2015-11-01 22:49:29 +01:00 |
|
Florian Bruhin
|
6431997a5a
|
Add some testprocess tests.
|
2015-11-01 22:48:44 +01:00 |
|
Florian Bruhin
|
239bc3bdea
|
Connect read_log before starting process.
|
2015-11-01 22:48:44 +01:00 |
|
Florian Bruhin
|
dfc1782bbf
|
Add testprocess.wait_for to react to messages.
|
2015-11-01 22:48:44 +01:00 |
|
Florian Bruhin
|
70decdc2c8
|
Fix lint.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
4b683cdd8f
|
Check invalid logs after exiting process.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
1c7fd7d80e
|
Rename testprocess cleanup to terminate.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
18ead66f04
|
Fix odd QuteProc crash.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
5ed419c7f5
|
Make reloading more reliable.
Before, we didn't wait until the reload is done, which could lead to a race
condition.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
2be5c4cd27
|
Fix lint.
|
2015-11-01 22:47:58 +01:00 |
|
Florian Bruhin
|
1a562594fa
|
Broken error message matching.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
3a948be490
|
Add test for unexpected error logging.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
ac148c11ec
|
Skip bdd tests when frozen for now.
See:
https://github.com/pytest-dev/pytest-bdd/issues/158
https://github.com/pytest-dev/pytest-bdd/issues/159
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
b878b139dd
|
Ignore errors when decoding subprocess output.
This would otherwise fail on Windows because … get translated to an UTF-8 NEL
(U+0085)...
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
be20001594
|
Adjust log regex to parse "Unknown module".
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
ee8d538964
|
Run new qutebrowser instance for each test.
The possibilities how a test can affect another are just too high.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
8664e45558
|
Use httpbin.Request namedtuple for comparisons.
This makes it easier to look at the pytest diff when things go wrong.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
6e786ff9b7
|
Open in a new tab.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
4bf6359205
|
Rename Request.url to Request.path.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
c052c8a107
|
Don't show full debug log without --verbose.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
af000a8ac6
|
Wait longer for process to start.
|
2015-11-01 22:40:11 +01:00 |
|
Florian Bruhin
|
ffc465e863
|
First work-in-progress feature test.
|
2015-11-01 22:40:11 +01:00 |
|