1 suggestion
Optional improvements
[suggestion] · Network-policy tests do not cover production engine construction
The helper tests do not detect a production engine that omits the network factory, although all current production paths install it correctly.
Location: test/test_qmlengine.cpp:119 (head).
Details and suggested fix
These tests construct engines through CreateInitErrorEngine(), CreatePreInitEngine(), and CreateMainEngine() directly, so bypassing those helpers in bitcoin.cpp would not change their assertions. The integration fixture reaches production construction, but TestApplication::qmlEngineCreated currently checks only QML warnings, which do not establish whether the network factory is installed. Consider checking engine.networkAccessManagerFactory() in that hook and recording EXIT_FAILURE with a diagnostic when it is null. All three production paths already invoke the hook before loading QML, so this requires no production change. The check would detect a missing factory, not prove that an arbitrary replacement factory blocks requests. The fixture normally reaches only the main engine; init-error and onboarding would still rely on the helper-level tests.