Is the UI built up properly (including widgets) in the unit-test? I cannot see how it's related to the working-sets, those don't manipulate any widget-structures. Any widget that is visible should have a parentWidget(). Maybe the timing of the signal is the problem.