Preventing test run from stopping when navigating to different screen