Skip to content

UI tests improvements (#153) #65

UI tests improvements (#153)

UI tests improvements (#153) #65

GitHub Actions / Test Results failed Nov 28, 2024 in 0s

1 fail, 16 pass in 15m 27s

17 tests   16 ✅  15m 27s ⏱️
 1 suites   0 💤
 1 files     1 ❌

Results for commit 5fb499c.

Annotations

Check warning on line 0 in Cody.VisualStudio.Tests.ChatNotLoggedStateTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

Cody_Free_Cody_Pro_Section_Is_Present - 2022 Exp (Cody.VisualStudio.Tests.ChatNotLoggedStateTests) failed

TestResults\runneradmin_runner_2024-11-28_02_36_55.trx [took 4s]
Raw output
System.InvalidOperationException : Sequence contains no elements   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at Cody.VisualStudio.Tests.PlaywrightTestsBase.<AssertTextIsPresent>d__13.MoveNext() in C:\a\cody-vs\cody-vs\src\Cody.VisualStudio.Tests\PlaywrightTestsBase.cs:line 142
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Cody.VisualStudio.Tests.ChatNotLoggedStateTests.<>c__DisplayClass3_0.<<Cody_Free_Cody_Pro_Section_Is_Present>b__0>d.MoveNext() in C:\a\cody-vs\cody-vs\src\Cody.VisualStudio.Tests\ChatNotLoggedStateTests.cs:line 34
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Cody.VisualStudio.Tests.ChatNotLoggedStateTests.<NotInLoggedState>d__6.MoveNext() in C:\a\cody-vs\cody-vs\src\Cody.VisualStudio.Tests\ChatNotLoggedStateTests.cs:line 77
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Cody.VisualStudio.Tests.ChatNotLoggedStateTests.<NotInLoggedState>d__6.MoveNext() in C:\a\cody-vs\cody-vs\src\Cody.VisualStudio.Tests\ChatNotLoggedStateTests.cs:line 82
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Cody.VisualStudio.Tests.ChatNotLoggedStateTests.<Cody_Free_Cody_Pro_Section_Is_Present>d__3.MoveNext() in C:\a\cody-vs\cody-vs\src\Cody.VisualStudio.Tests\ChatNotLoggedStateTests.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

17 tests found

There are 17 tests, see "Raw output" for the full list of tests.
Raw output
Cody.Core.Tests.CustomConfigurationTests ‑ Complex_JSON_Data_Should_Be_Serializable
Cody.Core.Tests.CustomConfigurationTests ‑ CustomConfiguration_Malformed_JSON_Should_Return_Null
Cody.Core.Tests.CustomConfigurationTests ‑ Simple_JSON_Data_Should_Be_Serializable
Cody.VisualStudio.Tests.ChatLoggedBasicTests ‑ Active_File_Match_Current_Chat_Context - 2022 Exp
Cody.VisualStudio.Tests.ChatLoggedBasicTests ‑ Active_File_Name_And_Line_Selection_Is_Showing_In_Chat_Input - 2022 Exp
Cody.VisualStudio.Tests.ChatLoggedBasicTests ‑ Can_Chat_Tool_Window_Be_Closed_And_Opened_Again - 2022 Exp
Cody.VisualStudio.Tests.ChatLoggedBasicTests ‑ Entered_Prompt_Show_Up_In_Today_History - 2022 Exp
Cody.VisualStudio.Tests.ChatLoggedBasicTests ‑ Solution_Name_Is_Added_To_Chat_Input - 2022 Exp
Cody.VisualStudio.Tests.ChatNotLoggedStateTests ‑ Cody_Enterprise_Section_Is_Present - 2022 Exp
Cody.VisualStudio.Tests.ChatNotLoggedStateTests ‑ Cody_Free_Cody_Pro_Section_Is_Present - 2022 Exp
Cody.VisualStudio.Tests.ChatNotLoggedStateTests ‑ Logins_With_GitLab_Google_Are_Present - 2022 Exp
Cody.VisualStudio.Tests.CodyPackageTests ‑ CodyPackage_Loaded_OnDemand - 2022 Exp
Cody.VisualStudio.Tests.CodyPackageTests ‑ CodyToolWindow_Activated - 2022 Exp
Cody.VisualStudio.Tests.CodyPackageTests ‑ Logger_Initialized_And_Info_MethodCalled - 2022 Exp
Cody.VisualStudio.Tests.PlaywrightInitializationTests ‑ Playwright_Connects_OvercCDP - 2022 Exp
VsixTesting.Instances ‑ 1. Preparing Instance
VsixTesting.Instances ‑ 2. Launching Instance