configure fw lite desktop to use appsettings.json to let users overri… #427
4 fail, 1 skipped, 54 pass in 50s
Annotations
Check warning on line 0 in Testing.ApiTests.OrgPermissionTests
github-actions / Integration Tests windows-latest for Mercurial 6
ManagersSeeAllProjects (Testing.ApiTests.OrgPermissionTests) failed
./test-results\runneradmin_fv-az1212-240_2024-11-20_06_49_24.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : projects
should contain an element satisfying the condition
(p.get_Item("id").GetValue() == projectId)
but does not
Additional Info:
project id '762b50e8-2e09-4ed4-a48d-775e1ada78e8' should exist in: [{"id":"9e972940-8a8e-4b29-a609-bdc2f93b3507","isConfidential":false},{"id":"0ebc5976-058d-4447-aaa7-297f8569f968","isConfidential":null}] at Testing.ApiTests.OrgPermissionTests.MustContainProject(JsonNode org, Guid projectId) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\OrgPermissionTests.cs:line 216
at Testing.ApiTests.OrgPermissionTests.ManagersSeeAllProjects() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\OrgPermissionTests.cs:line 251
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Check warning on line 0 in Testing.ApiTests.OrgPermissionTests
github-actions / Integration Tests windows-latest for Mercurial 6
ManagerCanSeeMemberEmails (Testing.ApiTests.OrgPermissionTests) failed
./test-results\runneradmin_fv-az1212-240_2024-11-20_06_49_24.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : org["members"]!.AsArray().Where(m => m?["user"]?["email"]?.GetValue<string>() is { Length: > 0 })
should not be empty but was at Testing.ApiTests.OrgPermissionTests.MustHaveOneMemberWithEmail(JsonNode org) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\OrgPermissionTests.cs:line 46
at Testing.ApiTests.OrgPermissionTests.ManagerCanSeeMemberEmails() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\OrgPermissionTests.cs:line 154
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Check warning on line 0 in Testing.ApiTests.OrgPermissionTests
github-actions / Integration Tests windows-latest for Mercurial 6
ManagerCanSeeMemberUsernames (Testing.ApiTests.OrgPermissionTests) failed
./test-results\runneradmin_fv-az1212-240_2024-11-20_06_49_24.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : org["members"]!.AsArray().Where(m => m?["user"]?["username"]?.GetValue<string>() is { Length: > 0 })
should not be empty but was at Testing.ApiTests.OrgPermissionTests.MustHaveOneMemberWithUsername(JsonNode org) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\OrgPermissionTests.cs:line 57
at Testing.ApiTests.OrgPermissionTests.ManagerCanSeeMemberUsernames() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\OrgPermissionTests.cs:line 162
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Check warning on line 0 in Testing.ApiTests.GqlMiddlewareTests
github-actions / Integration Tests windows-latest for Mercurial 6
CanTriggerMultipleInstancesOfMiddlewareThatAccessDbSimultaneously (Testing.ApiTests.GqlMiddlewareTests) failed
./test-results\runneradmin_fv-az1212-240_2024-11-20_06_49_24.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : projectDir.Length
should be less than
150
but was
152
Additional Info:
Path may be too long with mercurial directories C:\Users\runneradmin\AppData\Local\Temp\SR_Tests\7-e5d731ae\can-trigger-multiple-instances-of-middleware-that-access-db-simultaneously-9e914a65-dev-flex at Testing.Services.Utils.GetNewProjectDir(String projectCode, String projectName) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\Services\Utils.cs:line 140
at Testing.Services.Utils.GetNewProjectConfig(Nullable`1 protocol, Boolean isConfidential, Nullable`1 owningOrgId, String projectName) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\Services\Utils.cs:line 31
at Testing.ApiTests.GqlMiddlewareTests.CanTriggerMultipleInstancesOfMiddlewareThatAccessDbSimultaneously() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\ApiTests\GqlMiddlewareTests.cs:line 59
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)