alttester / alttester/EXAMPLES-CSharp-Cloud-Services-AltTrashCat

Investigate and fix failing tests

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
4
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.