From 33d09d263be4f98f50d3900af97aafdee4cd0357 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Fri, 11 Jul 2025 11:58:37 +0100 Subject: [PATCH] Set CopilotStudio integration tests to manual run only. (#166) --- .../CopilotStudioRunStreamingTests.cs | 27 +++++++++++++++++++ .../CopilotStudioRunTests.cs | 27 +++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunStreamingTests.cs b/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunStreamingTests.cs index ee4febbcdf..09412f6733 100644 --- a/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunStreamingTests.cs +++ b/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunStreamingTests.cs @@ -7,9 +7,36 @@ namespace CopilotStudio.IntegrationTests; public class CopilotStudioRunStreamingTests() : RunStreamingTests(() => new()) { + // Set to null to run the tests. + private const string ManualVerification = "For manual verification"; + [Fact(Skip = "Copilot Studio does not support thread history retrieval, so this test is not applicable.")] public override Task ThreadMaintainsHistoryAsync() { return Task.CompletedTask; } + + [Fact(Skip = ManualVerification)] + public override Task RunWithChatMessageReturnsExpectedResultAsync() + { + return base.RunWithChatMessageReturnsExpectedResultAsync(); + } + + [Fact(Skip = ManualVerification)] + public override Task RunWithChatMessagesReturnsExpectedResultAsync() + { + return base.RunWithChatMessagesReturnsExpectedResultAsync(); + } + + [Fact(Skip = ManualVerification)] + public override Task RunWithNoMessageDoesNotFailAsync() + { + return base.RunWithNoMessageDoesNotFailAsync(); + } + + [Fact(Skip = ManualVerification)] + public override Task RunWithStringReturnsExpectedResultAsync() + { + return base.RunWithStringReturnsExpectedResultAsync(); + } } diff --git a/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunTests.cs b/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunTests.cs index 95cb6c6db0..e598686bec 100644 --- a/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunTests.cs +++ b/dotnet/tests/CopilotStudio.IntegrationTests/CopilotStudioRunTests.cs @@ -7,9 +7,36 @@ namespace CopilotStudio.IntegrationTests; public class CopilotStudioRunTests() : RunTests(() => new()) { + // Set to null to run the tests. + private const string ManualVerification = "For manual verification"; + [Fact(Skip = "Copilot Studio does not support thread history retrieval, so this test is not applicable.")] public override Task ThreadMaintainsHistoryAsync() { return Task.CompletedTask; } + + [Fact(Skip = ManualVerification)] + public override Task RunWithChatMessageReturnsExpectedResultAsync() + { + return base.RunWithChatMessageReturnsExpectedResultAsync(); + } + + [Fact(Skip = ManualVerification)] + public override Task RunWithChatMessagesReturnsExpectedResultAsync() + { + return base.RunWithChatMessagesReturnsExpectedResultAsync(); + } + + [Fact(Skip = ManualVerification)] + public override Task RunWithNoMessageDoesNotFailAsync() + { + return base.RunWithNoMessageDoesNotFailAsync(); + } + + [Fact(Skip = ManualVerification)] + public override Task RunWithStringReturnsExpectedResultAsync() + { + return base.RunWithStringReturnsExpectedResultAsync(); + } }