alttester / alttester/EXAMPLES-CSharp-Cloud-Services-AltTrashCat
Investigate and fix failing tests
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 4
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Upon updating cloud services examples to use AltTester SDK 2.2.5, we noticed that some tests are failing independently of the SDK upon running them in BrowserStack. Most likely, they fail on other cloud services, TBD.
❌ Android Failed Tests - example of the test results - [here](https://observability.browserstack.com/projects/TrashCat/builds/TrashCat201/9?tab=tests&search=85b59e52ef480970f9eead7588e1962684f24ed1&testListView=spec&match=%7B%22search%22%3A%22OR%22%7D&details=1501630149)
```
TestPremiumButtonColorChangesAsExpectedPerState
Error: Assert.AreEqual Failed: the expected color value differed slightly from the actual value (floating-point mismatch).
TestGetApplicationScreenSize
Error: MethodNotFoundException: the method SetResolution was not found on the UnityEngine.Screen class.
TestLeaderBoardNameHighScoreChanges
Error: WaitTimeOutException: the object /UICamera/Leaderboard/Background/Display/Score/Name was not loaded within 10 seconds.
TestGetStaticPropertyBrightness
Error: PropertyNotFoundException: the property brightness was not found on the requested component.
TestThatPremiumButtonAtCoordinatesIsFound
Error: ComponentNotFoundException: The TMP_InputField component was not found when attempting to access text content.
```
❌ iOS Failed Tests - example of the test results - [here](https://observability.browserstack.com/projects/TrashCat/builds/TrashCat-iOS-Build/2?tab=tests&search=2dbdfd2ef3a3dd0838713a55ebac3ad10cda4fc3&testListView=spec&match=%7B%22search%22%3A%22OR%22%7D&details=1505131575).
Excerpt from the error list:
```
TestAssertCharacterIsMoving
Error: Binary not found or failed to launch. Make sure that BrowserStackLocal is not already running.
TestGetApplicationScreenSize
Error: the method SetResolution was not found on the UnityEngine.Screen class.
TestGetWorldPositionTrashCat
Error: Binary not found or failed to launch. Make sure that BrowserStackLocal is not already running.
TestStartButtonLoadMainMenu
Error: Binary not found or failed to launch.
TestButtonsAreCorrectlyDisplayed
Error: No app connected that has the given tags.
TestPremiumButtonColorChangesAsExpectedPerState
Error: Color mismatch: expected vs actual float values
TestBuyMagnet
Error: Binary not found or failed to launch.
SliderValuesChangeAsExpected("MasterSlider")
Error: No app connected that has the given tags.
TestMainMenuPageLoadedCorrectly
Error: No app connected that has the given tags.
TestGamePlayDisplayedCorrectly
Error: Binary not found or failed to launch.
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.