Add support for new informative error messages #429
❌️ 2019.4.40f1-playmode Test Results - 32/46, skipped: 10, failed: 4 - Failed in 18.805s
❌️ playmode-results.xml - 32/46, skipped: 10, failed: 4 - Failed in 18.805s
Details
❌️ playmode-results.xml - 32/46, skipped: 10, failed: 4 - Failed in 18.805s
-
❌️ Tests.AppleSignInTests - 0/4, skipped: 2, failed: 2 - Failed in 1.606s
-
⚠️ RefreshAppleSessionWhenSignedInSucceeds - Skipped -
❌️ RefreshAppleSessionWithInvalidTokenFails - Failed in 0.795s
Response code wrong, expected 400 but was 401
Expected: 400
But was: 401SDK is Initializing SDK is Initializing SDK is Initialized Caller Type: User ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"} Server Response: 401 session/apple completed in 0.5756 secs. Response: {"message":"Could not start apple session","request_id":"767e9ab8-6b64-4030-bd1a-a428eb3fc0ed","trace_id":"8c09e9ecef9b4608573900a93e575e19"} Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"767e9ab8-6b64-4030-bd1a-a428eb3fc0ed","trace_id":"8c09e9ecef9b4608573900a93e575e19"} at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
⚠️ StartAppleSessionSucceedsAndProvidesRefreshToken - Skipped -
❌️ StartAppleSessionWithInvalidAuthorizationCodeFails - Failed in 0.810s
Failed Sign In
Expected: 400
But was: 401Caller Type: User ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"} Server Response: 401 session/apple completed in 0.7848 secs. Response: {"message":"Could not start apple session","request_id":"0454d32f-fa14-45b6-af49-dfa757208d39","trace_id":"2f3f715fe0bdef65b80344ec6f910bb6"} Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"0454d32f-fa14-45b6-af49-dfa757208d39","trace_id":"2f3f715fe0bdef65b80344ec6f910bb6"} at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
-
⚠️ Tests.GoogleSignInTests - 0/4, skipped: 4 - Passed in 0.000s⚠️ RefreshGoogleSessionWhenSignedInSucceeds - Skipped⚠️ RefreshGoogleSessionWithInvalidTokenFails - Skipped⚠️ StartGoogleSessionSucceedsAndProvidesRefreshToken - Skipped⚠️ StartGoogleSessionWithInvalidAuthorizationCodeFails - Skipped
-
✅ Tests.GuestLoginTest - 1/1 - Passed in 0.922s
- ✅ GuestUserCanLogIn - Passed in 0.922s
-
✅ Tests.JsonTests - 10/10 - Passed in 0.066s
- ✅ JsonTestsSimplePasses - Passed in 0.017s
- ✅ SDKCanDeserializeComplexArrayObjectsJson - Passed in 0.017s
- ✅ SDKCanDeserializeJson - Passed in 0.002s
- ✅ SDKCanDeserializeMultidimensionalArrayObjectsJson - Passed in 0.001s
- ✅ SDKCanSerializeJson - Passed in 0.001s
- ✅ SDKCanSerializeMultidimensionalArrayObjectsJson - Passed in 0.001s
- ✅ TestCyclic - Passed in 0.005s
- ✅ TestCyclicCustom - Passed in 0.003s
- ✅ TestDictionary - Passed in 0.018s
- ✅ TestList - Passed in 0.002s
-
✅ Tests.PingTest - 1/1 - Passed in 1.149s
- ✅ BackendCanBePinged - Passed in 1.149s
-
✅ Tests.PlayerFilesTests - 1/1 - Passed in 3.451s
- ✅ PlayerFileCanBeCreatedWithPathUpdatedAndThenDeleted - Passed in 3.451s
-
✅ Tests.PlayerHandlingTests - 1/1 - Passed in 0.981s
- ✅ PlayerCanBeCreatedAndDeleted - Passed in 0.981s
-
✅ Tests.RateLimiterTests - 11/11 - Passed in 0.536s
- ✅ AfterHavingBeenSetOffTheRateLimitingCancelsAfter3Minutes - Passed in 0.064s
- ✅ ConstantRequestsBelowTripWireStillHitsMovingAverageRateLimit - Passed in 0.028s
- ✅ ExcessiveQuickSuccessionRequestsHitsTripwireRateLimit - Passed in 0.033s
- ✅ FrequentSmallBurstsDoesNotHitRateLimit - Passed in 0.023s
- ✅ InfrequentLargeBurstsDoesNotHitRateLimit - Passed in 0.023s
- ✅ LowLevelBackgroundRequestsWithIntermittentBurstsHitsRateLimit - Passed in 0.071s
- ✅ NormalAmountOfAverageRequestsDoesNotHitRateLimit - Passed in 0.023s
- ✅ SuddenHugeBurstAboveLimitTriggersRateLimit - Passed in 0.112s
- ✅ SuddenHugeBurstBelowLimitDoesNotTriggerRateLimit - Passed in 0.024s
- ✅ SuddenHugeBurstBelowLimitFollowedByAFewRequestsTriggersRateLimit - Passed in 0.115s
- ✅ UndulatingLowLevelOfRequestsDoesNotHitRateLimit - Passed in 0.022s
-
✅ Tests.RefreshTests - 2/2 - Passed in 4.250s
- ✅ SDKAutomaticallyRefreshesExpiredSessionWhenEnabled - Passed in 2.706s
- ✅ SDKDoesNotAutomaticallyRefreshesExpiredSessionWhenDisabled - Passed in 1.544s
-
⚠️ Tests.SubmitScoresWithGuestLogin - 0/1, skipped: 1 - Passed in 0.000s⚠️ TestResponsesAreAsExpectedForAllLeaderboardsAndPlayers - Skipped
-
❌️ Tests.WhiteLabelLoginTests - 5/10, skipped: 3, failed: 2 - Failed in 5.741s
⚠️ RequestEmailVerificationByEmailSucceeds - Skipped⚠️ RequestEmailVerificationSucceeds - Skipped- ✅ RequestPasswordResetSucceeds - Passed in 0.322s
- ✅ WhiteLabelCheckSessionFailsWhenNoSessionExists - Passed in 0.024s
- ✅ WhiteLabelCheckSessionSucceeds - Passed in 1.630s
- ✅ WhiteLabelCheckSessionWithEmailAndTokenSucceeds - Passed in 1.595s
- ✅ WhiteLabelCheckSessionWithWrongEmailFails - Passed in 1.561s
- ❌️ WhiteLabelLoginAndSessionStartFromSavedStateSucceeds - Failed in 0.302s
- ❌️ WhiteLabelLoginAndStartSessionSucceeds - Failed in 0.308s
⚠️ WhiteLabelSignUpSucceeds - Skipped
Annotations
Check failure on line 54 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.AppleSignInTests.RefreshAppleSessionWithInvalidTokenFails
Response code wrong, expected 400 but was 401
Expected: 400
But was: 401
Raw output
SDK is Initializing
SDK is Initializing
SDK is Initialized
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 0.5756 secs.
Response: {"message":"Could not start apple session","request_id":"767e9ab8-6b64-4030-bd1a-a428eb3fc0ed","trace_id":"8c09e9ecef9b4608573900a93e575e19"}
Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"767e9ab8-6b64-4030-bd1a-a428eb3fc0ed","trace_id":"8c09e9ecef9b4608573900a93e575e19"}
at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
Check failure on line 140 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.AppleSignInTests.StartAppleSessionWithInvalidAuthorizationCodeFails
Failed Sign In
Expected: 400
But was: 401
Raw output
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 0.7848 secs.
Response: {"message":"Could not start apple session","request_id":"0454d32f-fa14-45b6-af49-dfa757208d39","trace_id":"2f3f715fe0bdef65b80344ec6f910bb6"}
Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"0454d32f-fa14-45b6-af49-dfa757208d39","trace_id":"2f3f715fe0bdef65b80344ec6f910bb6"}
at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46