1 suggestion
Optional improvements
[suggestion] · Post-update QR export assertions do not verify its payload
The new post-Update export check accepts any different PNG, so it does not establish that the saved image encodes the applied request.
Location: test/functional/qml_test_receive.py:370 (head).
Details and suggested fix
After Update, _request_qr_payload() checks the QRImage's code property, while Save QR captures the whole qrPanel through grabToImage(). The exported file is checked only for a PNG signature and inequality with the original export. A blank image or an image containing a different code could satisfy both assertions. Decode request-qr-applied.png and compare its text exactly with applied, retaining the existing file and error checks. This would connect the saved artifact to the address, amount, label and message already checked in the QML property. The functional-test CI job does not explicitly install a QR decoder, so this requires a dependency such as zbar-tools. If that cost is unwanted, at least narrow the comment's claim about what this test verifies. This is a coverage improvement; no incorrect export from the current implementation is established.