How to keep integration-test running until Hangfire task triggered?

ASP.NET Core 2.2.0

I have an integration-test that schedules a Hangfire task.

In the callback method I have a breakpoint.

How can I keep the integration-test running until the breakpoint is hit ?