Merge branch 'master' of https://github.com/The-Compiler/qutebrowser
This commit is contained in:
commit
7cc43d3954
@ -147,8 +147,8 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* Bruno Oliveira
|
* Bruno Oliveira
|
||||||
* Alexander Cogneau
|
* Alexander Cogneau
|
||||||
* Martin Tournoij
|
* Martin Tournoij
|
||||||
* Raphael Pierzina
|
|
||||||
* Felix Van der Jeugt
|
* Felix Van der Jeugt
|
||||||
|
* Raphael Pierzina
|
||||||
* Joel Torstensson
|
* Joel Torstensson
|
||||||
* Claude
|
* Claude
|
||||||
* Patric Schmitz
|
* Patric Schmitz
|
||||||
|
@ -16,6 +16,7 @@ markers =
|
|||||||
pyqt531_or_newer: Needs PyQt 5.3.1 or newer.
|
pyqt531_or_newer: Needs PyQt 5.3.1 or newer.
|
||||||
xfail_norun: xfail the test with out running it
|
xfail_norun: xfail the test with out running it
|
||||||
flaky: Tests which are flaky and should be rerun
|
flaky: Tests which are flaky and should be rerun
|
||||||
|
ci: Tests which should only run on CI.
|
||||||
qt_log_level_fail = WARNING
|
qt_log_level_fail = WARNING
|
||||||
qt_log_ignore =
|
qt_log_ignore =
|
||||||
^SpellCheck: .*
|
^SpellCheck: .*
|
||||||
|
@ -57,6 +57,7 @@ def _apply_platform_markers(item):
|
|||||||
('skip', True, "Always skipped."),
|
('skip', True, "Always skipped."),
|
||||||
('pyqt531_or_newer', PYQT_VERSION < 0x050301,
|
('pyqt531_or_newer', PYQT_VERSION < 0x050301,
|
||||||
"Needs PyQt 5.3.1 or newer"),
|
"Needs PyQt 5.3.1 or newer"),
|
||||||
|
('ci', 'CI' not in os.environ, "Only runs on CI."),
|
||||||
]
|
]
|
||||||
|
|
||||||
for searched_marker, condition, default_reason in markers:
|
for searched_marker, condition, default_reason in markers:
|
||||||
|
@ -122,12 +122,14 @@ Feature: Prompts
|
|||||||
And I click the button
|
And I click the button
|
||||||
Then the javascript message "geolocation permission denied" should be logged
|
Then the javascript message "geolocation permission denied" should be logged
|
||||||
|
|
||||||
|
@ci
|
||||||
Scenario: Always accepting geolocation
|
Scenario: Always accepting geolocation
|
||||||
When I set content -> geolocation to true
|
When I set content -> geolocation to true
|
||||||
And I open data/prompt/geolocation.html in a new tab
|
And I open data/prompt/geolocation.html in a new tab
|
||||||
And I click the button
|
And I click the button
|
||||||
Then the javascript message "geolocation permission denied" should not be logged
|
Then the javascript message "geolocation permission denied" should not be logged
|
||||||
|
|
||||||
|
@ci
|
||||||
Scenario: geolocation with ask -> true
|
Scenario: geolocation with ask -> true
|
||||||
When I set content -> geolocation to ask
|
When I set content -> geolocation to ask
|
||||||
And I open data/prompt/geolocation.html in a new tab
|
And I open data/prompt/geolocation.html in a new tab
|
||||||
|
@ -46,7 +46,7 @@ def test_elided_text(qtbot, elidemode, check):
|
|||||||
"""
|
"""
|
||||||
label = TextBase(elidemode=elidemode)
|
label = TextBase(elidemode=elidemode)
|
||||||
qtbot.add_widget(label)
|
qtbot.add_widget(label)
|
||||||
long_string = 'Hello world! ' * 20
|
long_string = 'Hello world! ' * 100
|
||||||
label.setText(long_string)
|
label.setText(long_string)
|
||||||
label.resize(100, 50)
|
label.resize(100, 50)
|
||||||
label.show()
|
label.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user