Fix intermittent test failures in notifications and revisions widgets