Show error dialog for 500 featch responses #3
9 fail, 1 skipped, 55 pass in 15m 59s
Annotations
Check warning on line 0 in Testing.SyncReverseProxy.ProxyHgRequests
github-actions / Integration Tests ubuntu-latest
TestGetWithJwtInBasicAuth (Testing.SyncReverseProxy.ProxyHgRequests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 9s]
Raw output
System.InvalidOperationException : This instance has already started one or more requests. Properties can only be modified before sending the first request. at System.Net.Http.SocketsHttpHandler.CheckDisposedOrStarted()
at System.Net.Http.HttpClientHandler.set_CookieContainer(CookieContainer value)
at Testing.Services.JwtHelper.GetJwtForUser(SendReceiveAuth auth) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/JwtHelper.cs:line 26
at Testing.SyncReverseProxy.ProxyHgRequests.TestGetWithJwtInBasicAuth() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/ProxyHgRequestTests.cs:line 60
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests
github-actions / Integration Tests ubuntu-latest
CanCloneSendReceiveWithJwtOverBasicAuth(hgProtocol: Hgweb, user: "manager") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 0s]
Raw output
System.InvalidOperationException : This instance has already started one or more requests. Properties can only be modified before sending the first request. at System.Net.Http.SocketsHttpHandler.CheckDisposedOrStarted()
at System.Net.Http.HttpClientHandler.set_CookieContainer(CookieContainer value)
at Testing.Services.JwtHelper.GetJwtForUser(SendReceiveAuth auth) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/JwtHelper.cs:line 26
at Testing.SyncReverseProxy.SendReceiveServiceTests.CanCloneSendReceiveWithJwtOverBasicAuth(HgProtocol hgProtocol, String user) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 104
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests
github-actions / Integration Tests ubuntu-latest
CanCloneSendReceiveWithJwtOverBasicAuth(hgProtocol: Hgweb, user: "admin") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 0s]
Raw output
System.InvalidOperationException : This instance has already started one or more requests. Properties can only be modified before sending the first request. at System.Net.Http.SocketsHttpHandler.CheckDisposedOrStarted()
at System.Net.Http.HttpClientHandler.set_CookieContainer(CookieContainer value)
at Testing.Services.JwtHelper.GetJwtForUser(SendReceiveAuth auth) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/JwtHelper.cs:line 26
at Testing.SyncReverseProxy.SendReceiveServiceTests.CanCloneSendReceiveWithJwtOverBasicAuth(HgProtocol hgProtocol, String user) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 104
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.Browser.EmailWorkflowTests
github-actions / Integration Tests ubuntu-latest
RegisterVerifyUpdateVerifyEmailAdress (Testing.Browser.EmailWorkflowTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 38s]
Raw output
System.TimeoutException : Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/user" until "Load"
navigated to "https://staging.languagedepot.org/user?emailResult=verifiedEmail"
============================================================
---- System.TimeoutException : Timeout 30000ms exceeded. at Microsoft.Playwright.Core.Waiter.WaitForPromiseAsync[T](Task`1 task, Action dispose) in /_/src/Playwright/Core/Waiter.cs:line 228
at Microsoft.Playwright.Core.Frame.WaitForNavigationInternalAsync(Waiter waiter, String url, Func`2 urlFunc, Regex urlRegex, String urlString, Nullable`1 waitUntil) in /_/src/Playwright/Core/Frame.cs:line 283
at Microsoft.Playwright.Core.Frame.RunAndWaitForNavigationAsync(Func`1 action, FrameRunAndWaitForNavigationOptions options) in /_/src/Playwright/Core/Frame.cs:line 226
at Testing.Browser.Page.BasePage`1.WaitFor() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Browser/Page/BasePage.cs:line 39
at Testing.Browser.EmailWorkflowTests.RegisterVerifyUpdateVerifyEmailAdress() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Browser/EmailWorkflowTests.cs:line 31
at Testing.Browser.EmailWorkflowTests.RegisterVerifyUpdateVerifyEmailAdress() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Browser/EmailWorkflowTests.cs:line 63
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at Microsoft.Playwright.Helpers.TaskHelper.<>c__DisplayClass2_0.<WithTimeout>b__0() in /_/src/Playwright/Helpers/TaskHelper.cs:line 73
at Microsoft.Playwright.Helpers.TaskHelper.WithTimeout(Task task, Func`1 timeoutAction, TimeSpan timeout, CancellationToken cancellationToken) in /_/src/Playwright/Helpers/TaskHelper.cs:line 113
at Microsoft.Playwright.Core.Waiter.WaitForPromiseAsync[T](Task`1 task, Action dispose) in /_/src/Playwright/Core/Waiter.cs:line 228
Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests
github-actions / Integration Tests ubuntu-latest
CanCloneSendReceiveWithJwtOverBasicAuth(hgProtocol: Resumable, user: "manager") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 0s]
Raw output
System.InvalidOperationException : This instance has already started one or more requests. Properties can only be modified before sending the first request. at System.Net.Http.SocketsHttpHandler.CheckDisposedOrStarted()
at System.Net.Http.HttpClientHandler.set_CookieContainer(CookieContainer value)
at Testing.Services.JwtHelper.GetJwtForUser(SendReceiveAuth auth) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/JwtHelper.cs:line 26
at Testing.SyncReverseProxy.SendReceiveServiceTests.CanCloneSendReceiveWithJwtOverBasicAuth(HgProtocol hgProtocol, String user) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 104
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests
github-actions / Integration Tests ubuntu-latest
CanCloneSendReceiveWithJwtOverBasicAuth(hgProtocol: Resumable, user: "admin") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 0s]
Raw output
System.InvalidOperationException : This instance has already started one or more requests. Properties can only be modified before sending the first request. at System.Net.Http.SocketsHttpHandler.CheckDisposedOrStarted()
at System.Net.Http.HttpClientHandler.set_CookieContainer(CookieContainer value)
at Testing.Services.JwtHelper.GetJwtForUser(SendReceiveAuth auth) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/JwtHelper.cs:line 26
at Testing.SyncReverseProxy.SendReceiveServiceTests.CanCloneSendReceiveWithJwtOverBasicAuth(HgProtocol hgProtocol, String user) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 104
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.Browser.SandboxPageTests
github-actions / Integration Tests ubuntu-latest
CatchFetch500 (Testing.Browser.SandboxPageTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 11s]
Raw output
Microsoft.Playwright.PlaywrightException : Locator expected to be visible
Call log:
LocatorAssertions.ToBeVisibleAsync with timeout 5000ms
waiting for Locator(".modal-box.bg-error:has-text('Internal Server Error (500)')") at Microsoft.Playwright.Core.AssertionsBase.ExpectImplAsync(String expression, FrameExpectOptions expectOptions, Object expected, String message) in /_/src/Playwright/Core/AssertionsBase.cs:line 87
at Microsoft.Playwright.Core.AssertionsBase.ExpectImplAsync(String expression, ExpectedTextValue[] expectedText, Object expected, String message, FrameExpectOptions options) in /_/src/Playwright/Core/AssertionsBase.cs:line 63
at Testing.Browser.SandboxPageTests.CatchFetch500() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Browser/SandboxPageTests.cs:line 56
--- End of stack trace from previous location ---
Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests
github-actions / Integration Tests ubuntu-latest
ModifyProjectData (Testing.SyncReverseProxy.SendReceiveServiceTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 1m 36s]
Raw output
Shouldly.ShouldAssertException : srResult
should not contain (case insensitive comparison)
"abort"
but was actually
"Sync success: No changes from others
New long SHA: 6a963f4a72154dcf4b6fc033c7e546328909319eProgress ..." at Testing.SyncReverseProxy.SendReceiveServiceTests.ModifyProjectData() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 153
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check warning on line 0 in Testing.SyncReverseProxy.LegacyProjectApiTests
github-actions / Integration Tests ubuntu-latest
GetProjectDataWithEmailAddress (Testing.SyncReverseProxy.LegacyProjectApiTests) failed
./test-results/_fv-az166-346_2023-11-06_13_19_58.trx [took 15s]
Raw output
System.Net.Http.HttpRequestException : An error occurred while sending the request.
---- System.IO.IOException : The response ended prematurely. at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Testing.SyncReverseProxy.LegacyProjectApiTests.GetProjectDataWithEmailAddress() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/LegacyProjectApiTests.cs:line 66
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)