2 minor findings · 2 suggestions
Findings
[minor] · README names integration labels and paths that the build does not create
The documented stage6 CTest filter selects no integration tests, and the report filenames and module directories also use group names rather than the documented stage names.
Location: README.md:195 (head).
Details and suggested fix
The CMake loop increments stage only to pass --stage=N to the runner. It assigns LABELS "integration;${group}", writes integration-${group}.xml, and lists sources under descriptive group directories. Consequently, ctest --test-dir build --output-on-failure -L '^stage6$' does not run the sending tests, and developers will not find the documented integration-stageN.xml reports or stageN_* directories. Update the README to use -L '^wallet_sending$', integration-<group>.xml and test/integration/<group>/, while retaining numeric stages for the runner's --stage=N option.
[minor] · Mixed passed and skipped scenarios now produce a successful suite exit
If one compatibility scenario skips and the other passes, the consolidated suite exits zero, whereas the separate scripts propagated the skip's nonzero status to CI.
Location: test/functional/qml_scenarios.py:93 (head).
Details and suggested fix
run_scenarios() prints [SKIP] for status 77 but returns zero whenever another selected scenario passes and none fails. For example, a missing compatibility bitcoin-qt combined with a passing legacy migration now makes interface_qml_wallet_compat.py succeed; previously the standalone Qt compatibility script returned 77 to the workflow shell. The current workflow downloads and checks both binaries and configures BITCOIN_QT_RUNNER, and no current CI configuration producing a skip was identified. This is a loss of enforcement rather than an observed skipped run. Add a fail-on-skip mode and enable it in CI so every selected scenario remains required, while allowing local runs to retain permissive skip handling.
Optional improvements
[suggestion] · Foreign-PSBT coverage no longer checks the production review popup
The migrated unsigned foreign-PSBT case checks model capabilities but loses the real-model-to-QML checks for the warning, available actions and cleared form after dismissal.
Location: test/integration/psbt/test_psbt.cpp:145 (head).
Details and suggested fix
foreignPsbtCanBeReviewedWithoutSigning() calls importPsbtFromFile() and sendTransaction() directly, so it never exercises transactionReviewPopup. The deleted functional case checked the exact cannot-sign warning, hidden Send, visible Save and empty address/amount fields after closing. The retained component test checks action bindings against mocked capabilities and does not check form state after dismissal. The new live-QML retry case uses a signable PSBT, while the functional foreign-PSBT journey uses a fully signed one. Extend this case to inject the file path and import through the production Send menu, assert the warning and action visibility, then close review and verify the draft and form are cleared. Model rejection and the empty-mempool assertion remain covered; this suggestion restores UI integration coverage.
[suggestion] · Click helper silently retries swallowed clicks for up to ten seconds
For controls with clicked(), the integration helper can conceal a first-click delivery failure by repeatedly clicking until the target emits a signal.
Location: test/integration/fixture/test_util.h:150 (head).
Details and suggested fix
The base helper sent one QTest::mouseClick; this version retries inside qWaitFor() without reporting additional attempts. If an overlay or an outside-press popup consumes the first click, the test can pass even though the user needs another click. Retries can also activate the obscuring item repeatedly. The press spy stops retries once the target receives an observed press, so this does not establish repeated execution of the target's handler. Existing visibility, transition and polish waits narrow the trigger but do not rule it out, and no specific currently masked regression was identified. Prefer an explicit wait for the blocking condition followed by one click. Keep any intentional retry behavior in a separately named helper that reports its attempt count.