flow diagram showing a loop that checks if the app is idle before making a test pass