summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-12 17:45:39 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-12 17:45:39 +0100
commit366bbe3f1116637195e9f273f67fce204add0a79 (patch)
treefeb8133b66087994eb73802e08290328c5a792d7
parentb45ac601c62a1638a86347546e6afee79ecdbcf8 (diff)
downloadqutebrowser-366bbe3f1116637195e9f273f67fce204add0a79.tar.gz
qutebrowser-366bbe3f1116637195e9f273f67fce204add0a79.zip
tests: Print screenshot paths
-rw-r--r--tests/end2end/fixtures/quteprocess.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index 9ef338768..cd60a3439 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -904,7 +904,10 @@ class QuteProc(testprocess.Process):
tmp_path = self.request.getfixturevalue('tmp_path')
path = tmp_path / 'screenshot.png'
self.send_cmd(f':screenshot --force {path}')
- self.wait_for(message=f'Screenshot saved to {path}')
+
+ screenshot_msg = f'Screenshot saved to {path}'
+ self.wait_for(message=screenshot_msg)
+ print(screenshot_msg)
img = QImage(str(path))
assert not img.isNull()