Add a test for force_software_rendering
This commit is contained in:
parent
6770a474c4
commit
45c6ffe991
@ -319,3 +319,14 @@ def test_qute_settings_persistence(short_tmpdir, request, quteproc_new):
|
||||
|
||||
quteproc_new.start(args)
|
||||
assert quteproc_new.get_setting('ignore_case') == 'always'
|
||||
|
||||
|
||||
@pytest.mark.no_xvfb
|
||||
def test_force_software_rendering(request, quteproc_new):
|
||||
"""Make sure we can force software rendering with -s."""
|
||||
args = (_base_args(request.config) +
|
||||
['--temp-basedir', '-s', 'force_software_rendering', 'true'])
|
||||
quteproc_new.start(args)
|
||||
quteproc_new.open_path('chrome://gpu')
|
||||
message = 'Canvas: Software only, hardware acceleration unavailable'
|
||||
assert message in quteproc_new.get_content()
|
||||
|
Loading…
Reference in New Issue
Block a user