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
708c96f3ce
Fix handling of @qt>= BDD tags
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
91bdc00410
Make tests work with QtWebKit-NG
...
Fixes #1571
2017-02-06 08:48:08 +01:00
Florian Bruhin
d04534dc33
Reenable @qtwebengine_createWindow tests
...
Closes #2121
2016-11-15 07:03:13 +01:00
Florian Bruhin
a119e9d5b0
Mark :insert-text with undo test as xfail on OS X
2016-09-07 19:01:24 +02:00
Florian Bruhin
1106104700
Add a @qtwebengine_flaky marker
2016-09-06 21:43:02 +02:00
Florian Bruhin
f26ce3a8ff
Only add BDD markers if condition matches
...
This should make multiple markers on the same test work correctly.
2016-09-05 16:49:17 +02:00
Florian Bruhin
61270b8f92
Fix lint
2016-09-05 16:21:30 +02:00
Florian Bruhin
6151a5faa7
bdd: Fix handling of @qtweb{kit_engine}_* tags
2016-09-05 15:53:19 +02:00
Florian Bruhin
21fe8f43f9
tests: Fix handling of QUTE_BDD_WEBENGINE
...
The tryfirst decorator somehow messed up handling of other pytest
marks... Also we need to do this in the root conftest for it to work
properly.
2016-09-05 15:32:12 +02:00
Florian Bruhin
cf89204ac3
Only skip because of QTBUG-54419 with WebEngine
2016-09-05 15:08:00 +02:00
Florian Bruhin
ebf093bb6e
tests: Skip unittests with QUTE_BDD_WEBENGINE
2016-09-05 15:08:00 +02:00
Florian Bruhin
19ac488997
tests: Add QUTE_BDD_WEBENGINE environment variable
2016-09-05 15:08:00 +02:00
Florian Bruhin
cf070d48f2
WebEngine: Disable createWindow for Qt < 5.7.1
...
Fixes #1911 .
The bugfix is backported in my qt5-webengine-debug package, and
QUTE_QTBUG54419_PATCHED can be set to force qutebrowser to use
createWindow.
2016-09-05 15:08:00 +02:00
Florian Bruhin
30327b2acf
Move end2end tag handling to end2end/conftest.py
2016-09-05 15:08:00 +02:00
Florian Bruhin
187bfa8fce
tests: Use pytest_register_assert_rewrite
2016-08-26 06:22:03 +02:00
Florian Bruhin
99c2f8eca5
Add missing import
2016-08-19 19:02:02 +02:00
Florian Bruhin
119d76c502
Fix lint
2016-05-29 18:45:09 +02:00
Florian Bruhin
64d4c9f83e
Clean up end2end test file structure
...
This renames tests/integration to tests/end2end and moves some files to
tests/end2end/fixtures.
2016-05-29 18:20:00 +02:00