Screenshots in bitmessageqt tests #1738

Open
g1itch wants to merge 2 commits from g1itch/tests-screenshot into v0.6

2 Commits

Author SHA1 Message Date
f738769d34
Add TestBase.take_screenshot(window=None) in bitmessageqt.tests:
it shows specified window (or the main window), execs the app
and saves screenshot in png file in the appdata with full test name
in the file name.

Used it in TestUISignaler.test_updateStatusBar and TestSupport.
2021-03-02 19:32:46 +02:00
d7cc8b112e
Use xvfb only on Linux with xvfbwrapper 2021-03-02 19:32:41 +02:00