diff --git a/Assets/RegressionGames/Resources/BotSegments/1.json b/Assets/RegressionGames/Resources/BotSegments/1.json index 750d0a8e6..8ecc558f2 100644 --- a/Assets/RegressionGames/Resources/BotSegments/1.json +++ b/Assets/RegressionGames/Resources/BotSegments/1.json @@ -20,7 +20,6 @@ {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":1,"count":1,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":9,"count":9,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":2,"count":2,"countRule":"NonZero"}}, -{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":8,"count":8,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":3,"count":3,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":2,"count":2,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":2,"count":2,"countRule":"NonZero"}}, diff --git a/Assets/RegressionGames/Resources/BotSegments/2.json b/Assets/RegressionGames/Resources/BotSegments/2.json index 0961ff16e..c63156277 100644 --- a/Assets/RegressionGames/Resources/BotSegments/2.json +++ b/Assets/RegressionGames/Resources/BotSegments/2.json @@ -38,7 +38,6 @@ {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, -{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":8,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, diff --git a/Assets/RegressionGames/Resources/BotSegments/3.json b/Assets/RegressionGames/Resources/BotSegments/3.json index 4e922b9f1..88e97690c 100644 --- a/Assets/RegressionGames/Resources/BotSegments/3.json +++ b/Assets/RegressionGames/Resources/BotSegments/3.json @@ -20,7 +20,6 @@ {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, -{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":8,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, diff --git a/Assets/RegressionGames/Resources/BotSegments/4.json b/Assets/RegressionGames/Resources/BotSegments/4.json index 2cfff7fd8..3596114cf 100644 --- a/Assets/RegressionGames/Resources/BotSegments/4.json +++ b/Assets/RegressionGames/Resources/BotSegments/4.json @@ -33,7 +33,6 @@ {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, -{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":8,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, diff --git a/Assets/RegressionGames/Resources/BotSegments/5.json b/Assets/RegressionGames/Resources/BotSegments/5.json index bf1cd2429..9b50d415a 100644 --- a/Assets/RegressionGames/Resources/BotSegments/5.json +++ b/Assets/RegressionGames/Resources/BotSegments/5.json @@ -20,7 +20,6 @@ {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"UI Canvas/IP Start Button/Text","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_2","apiVersion":1,"removedCount":0,"addedCount":0,"count":9,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_base_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, -{"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_floor1","apiVersion":1,"removedCount":0,"addedCount":0,"count":1,"countRule":"GreaterThanEqual"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/wall1_top_straight_1","apiVersion":1,"removedCount":0,"addedCount":0,"count":3,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_pebbles","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, {"type":"NormalizedPath","apiVersion":7,"transient":true,"data":{"path":"CharSel_Background/env_roots/env_roots_LOD1","apiVersion":1,"removedCount":0,"addedCount":0,"count":2,"countRule":"NonZero"}}, diff --git a/Assets/Tests/Runtime/NavigateUITest.cs b/Assets/Tests/Runtime/NavigateUITest.cs index f3846a0af..0cd12902b 100644 --- a/Assets/Tests/Runtime/NavigateUITest.cs +++ b/Assets/Tests/Runtime/NavigateUITest.cs @@ -2,6 +2,7 @@ using NUnit.Framework; using RegressionGames; using RegressionGames.Types; +using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.TestTools; @@ -16,6 +17,9 @@ public IEnumerator TestLongHoldsInUI() // ENABLE THIS ON MAC - Unity has a bug where errors are printed when taking screenshots // for recordings on Mac. This will suppress those errors so the test can pass properly. LogAssert.ignoreFailingMessages = true; + + // Screen.SetResolution(640, 480, true); + // yield return null; // Define which bot sequence to use string sequencePath = "BotSequences/NavigateUI.json";