Skip to content

Chore/fix serilization error add entry component change (#1310) #1388

Chore/fix serilization error add entry component change (#1310)

Chore/fix serilization error add entry component change (#1310) #1388

GitHub Actions / Integration Tests ubuntu-latest for Mercurial 3 failed Dec 11, 2024 in 0s

2 fail, 1 skipped, 58 pass in 50s

61 tests  ±0   58 ✅ ±0   50s ⏱️ -1s
 1 suites ±0    1 💤 ±0 
 1 files   ±0    2 ❌ ±0 

Results for commit 165a44a. ± Comparison against earlier commit ce28810.

Annotations

Check warning on line 0 in Testing.ApiTests.UsersICanSeeQueryTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests ubuntu-latest for Mercurial 3

MemberCanSeeNotProjectMembersOfConfidentialProjects (Testing.ApiTests.UsersICanSeeQueryTests) failed

./test-results/_fv-az661-601_2024-12-11_09_38_52.trx [took 0s]
Raw output
Expected resultObject["errors"]? to be <null>, but found {{[__typename, NotFoundError], [message, User not found]}}.   at FluentAssertions.Execution.LoadableTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.ReferenceTypeAssertions`2.BeNull(String because, Object[] becauseArgs)
   at Testing.LexCore.Utils.GqlUtils.ValidateGqlErrors(JsonObject json, Boolean expectError) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Utils/GqlUtils.cs:line 18
   at Testing.ApiTests.ApiTestBase.ExecuteGql(String gql, Boolean expectGqlError, Boolean expectSuccessCode, String overrideJwt) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/ApiTestBase.cs:line 71
   at Testing.ApiTests.UsersICanSeeQueryTests.AddUserToProject(Guid projectId, String username) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/UsersICanSeeQueryTests.cs:line 30
   at Testing.ApiTests.UsersICanSeeQueryTests.MemberCanSeeNotProjectMembersOfConfidentialProjects() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/UsersICanSeeQueryTests.cs:line 93
   at Testing.ApiTests.UsersICanSeeQueryTests.MemberCanSeeNotProjectMembersOfConfidentialProjects() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/UsersICanSeeQueryTests.cs:line 96
--- End of stack trace from previous location ---

Check warning on line 0 in Testing.ApiTests.UsersICanSeeQueryTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests ubuntu-latest for Mercurial 3

ManagerCanSeeProjectMembersOfAllProjects (Testing.ApiTests.UsersICanSeeQueryTests) failed

./test-results/_fv-az661-601_2024-12-11_09_38_52.trx [took 1s]
Raw output
Expected resultObject["errors"]? to be <null>, but found {{[__typename, NotFoundError], [message, User not found]}}.   at FluentAssertions.Execution.LoadableTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.ReferenceTypeAssertions`2.BeNull(String because, Object[] becauseArgs)
   at Testing.LexCore.Utils.GqlUtils.ValidateGqlErrors(JsonObject json, Boolean expectError) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/LexCore/Utils/GqlUtils.cs:line 18
   at Testing.ApiTests.ApiTestBase.ExecuteGql(String gql, Boolean expectGqlError, Boolean expectSuccessCode, String overrideJwt) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/ApiTestBase.cs:line 71
   at Testing.ApiTests.UsersICanSeeQueryTests.AddUserToProject(Guid projectId, String username) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/UsersICanSeeQueryTests.cs:line 30
   at Testing.ApiTests.UsersICanSeeQueryTests.ManagerCanSeeProjectMembersOfAllProjects() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/UsersICanSeeQueryTests.cs:line 81
   at Testing.ApiTests.UsersICanSeeQueryTests.ManagerCanSeeProjectMembersOfAllProjects() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/UsersICanSeeQueryTests.cs:line 83
--- End of stack trace from previous location ---