diff --git a/Assets/Tests/Runtime/NavigateUITest.cs b/Assets/Tests/Runtime/NavigateUITest.cs index 5d1260a80..f3846a0af 100644 --- a/Assets/Tests/Runtime/NavigateUITest.cs +++ b/Assets/Tests/Runtime/NavigateUITest.cs @@ -29,8 +29,9 @@ public IEnumerator TestLongHoldsInUI() yield return RGTestUtils.StartBotSequence(sequencePath, result => sequenceResult = result); // Print out the recording path for viewing later - RGDebug.LogInfo("Played back and recorded the bot sequence - saved to " + sequenceResult.saveLocation); + Assert.IsNotNull(sequenceResult); Assert.IsNotNull(sequenceResult.saveLocation); + RGDebug.LogInfo("Played back and recorded the bot sequence - saved to " + sequenceResult.saveLocation); } }