bdd: Add tests for :print.
This commit is contained in:
parent
2cadac6b6e
commit
677dcd6748
@ -273,3 +273,21 @@ Feature: Various utility commands.
|
|||||||
And I set storage -> prompt-download-directory to false
|
And I set storage -> prompt-download-directory to false
|
||||||
And I open data/misc/test.pdf
|
And I open data/misc/test.pdf
|
||||||
Then "Download finished" should be logged
|
Then "Download finished" should be logged
|
||||||
|
|
||||||
|
# :print
|
||||||
|
|
||||||
|
# Disabled because it causes weird segfaults and QPainter warnings in Qt...
|
||||||
|
@skip
|
||||||
|
Scenario: print preview
|
||||||
|
When I open data/hello.txt
|
||||||
|
And I run :print --preview
|
||||||
|
And I wait for "Focus object changed: *" in the log
|
||||||
|
And I run :debug-pyeval QApplication.instance().activeModalWidget().close()
|
||||||
|
Then no crash should happen
|
||||||
|
|
||||||
|
Scenario: print
|
||||||
|
When I open data/hello.txt
|
||||||
|
And I run :print
|
||||||
|
And I wait for "Focus object changed: *" in the log
|
||||||
|
And I run :debug-pyeval QApplication.instance().activeModalWidget().close()
|
||||||
|
Then no crash should happen
|
||||||
|
Loading…
Reference in New Issue
Block a user