Skip failing scrolling tests on Qt 5.10 on Travis

See #3572
This commit is contained in:
Florian Bruhin 2018-02-08 10:42:55 +01:00
parent c520130389
commit 53e7d13c2d
3 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,7 @@ markers =
this: Used to mark tests during development
no_invalid_lines: Don't fail on unparseable lines in end2end tests
issue2478: Tests which are broken on Windows with QtWebEngine, https://github.com/qutebrowser/qutebrowser/issues/2478
issue3572: Tests which are broken with QtWebEngine and Qt 5.10, https://github.com/qutebrowser/qutebrowser/issues/3572
fake_os: Fake utils.is_* to a fake operating system
unicode_locale: Tests which need an unicode locale to work
qt_log_level_fail = WARNING

View File

@ -64,6 +64,10 @@ def _apply_platform_markers(config, item):
('no_ci', 'CI' in os.environ, "Skipped on CI."),
('issue2478', utils.is_windows and config.webengine,
"Broken with QtWebEngine on Windows"),
('issue3572',
qtutils.version_check('5.10', compiled=False, exact=True) and
config.webengine and 'TRAVIS' in os.environ,
"Broken with QtWebEngine with Qt 5.10 on Travis"),
('unicode_locale', sys.getfilesystemencoding() == 'ascii',
"Skipped because of ASCII locale"),
]

View File

@ -233,6 +233,7 @@ Feature: Scrolling
Then the page should be scrolled vertically
# https://github.com/qutebrowser/qutebrowser/issues/1821
@issue3572
Scenario: :scroll-to-perc without doctype
When I open data/scroll/no_doctype.html
And I run :scroll-to-perc 100
@ -315,6 +316,7 @@ Feature: Scrolling
## issues
@issue3572
Scenario: Relative scroll position with a position:absolute page
When I open data/scroll/position_absolute.html
And I run :scroll-to-perc 100