From 9d3c77a01b7cde8c8046d06d8dda78d204b772c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Go=C5=82=C4=99biowski?= Date: Thu, 2 Jan 2025 16:10:56 +0100 Subject: [PATCH] Tests fix --- src/Cody.VisualStudio.Tests/AutocompleteTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cody.VisualStudio.Tests/AutocompleteTests.cs b/src/Cody.VisualStudio.Tests/AutocompleteTests.cs index c1b33cc..b7a237f 100644 --- a/src/Cody.VisualStudio.Tests/AutocompleteTests.cs +++ b/src/Cody.VisualStudio.Tests/AutocompleteTests.cs @@ -15,11 +15,11 @@ public class AutocompleteTests : TestsBase public AutocompleteTests(ITestOutputHelper output) : base(output) { } - [VsFact(Version = VsVersion.VS2022)] + [VsFact(Version = VsVersion.VS2022, ReuseInstance = false)] public async Task Autocomplete_Is_Working() { await GetPackageAsync(); - + await WaitForChat(); await OpenSolution(SolutionsPaths.GetConsoleApp1File("ConsoleApp1.sln")); await OpenDocument(SolutionsPaths.GetConsoleApp1File(@"ConsoleApp1\Manager.cs")); await WaitForAsync(() => CodyPackage.TestingSupportService.InProgressBackgroundTasksCount == 0); @@ -52,7 +52,7 @@ public async Task Autocomplete_Is_Working() public async Task Explicit_Invocation_Is_Working() { await GetPackageAsync(); - + await WaitForChat(); await OpenSolution(SolutionsPaths.GetConsoleApp1File("ConsoleApp1.sln")); await OpenDocument(SolutionsPaths.GetConsoleApp1File(@"ConsoleApp1\Manager.cs")); await WaitForAsync(() => CodyPackage.TestingSupportService.InProgressBackgroundTasksCount == 0);